From cd5ee5442821f283f6661befb24b885d944e4c5e Mon Sep 17 00:00:00 2001 From: Leo C Date: Tue, 14 Oct 2014 22:38:56 +0200 Subject: pin command: pin groups work now --- avr/command_tbl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'avr/command_tbl.c') diff --git a/avr/command_tbl.c b/avr/command_tbl.c index 71e70ea..e8af931 100644 --- a/avr/command_tbl.c +++ b/avr/command_tbl.c @@ -148,20 +148,20 @@ CMD_TBL_ITEM( CMD_TBL_ITEM( pin, CONFIG_SYS_MAXARGS, 0, do_pin, - "Set or get pin state", - "[-s][pins]\n" + "Set or query pin state", + "[-s] []\n" " - print cofiguration and state or frequency of pins\n" " print all pins, if argument is omitted\n" - "pin pins [h[igh]]|[l[ow]]\n" + "pin h[igh]|l[ow]\n" " - config pins as output and set to level high or low\n" - "pin pins [ts]|[i[n]]|[p[ullup]]\n" + "pin ts|i[n]|p[ullup]\n" " - config pins as input/tristate or input with pullup\n" - "pin pins value[K|M][Hz]\n" + "pin value[K|M][Hz]\n" " - output a clock on pins\n" " value is system clock divider or frequency, if 'Hz' is appended\n" " divider is rounded down to next possible value (depends on pin)\n" "\n" - "pins is a comma separated list of numbers or ranges, i.e. \"0,9,3-6\"\n" + " is a comma separated list of numbers or ranges, i.e. \"0,9,3-6\"\n" ), CMD_TBL_ITEM( -- cgit v1.2.3