summaryrefslogtreecommitdiff
path: root/avr/cmd_help.c
blob: 010339ddc69e6a9f677c0eccae1fe3f9a6f2f3b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
 *
 * Copyright 2000-2009
 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#include "common.h"
#include "command.h"

command_ret_t do_help(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
	const int len = cmd_tbl_item_count();
	return _do_help(cmd_tbl, len, cmdtp, flag, argc, argv);
}