summaryrefslogtreecommitdiff
path: root/avr/command_tbl.c
diff options
context:
space:
mode:
authorLeo C2014-10-14 22:38:56 +0200
committerLeo C2014-10-14 22:38:56 +0200
commitcd5ee5442821f283f6661befb24b885d944e4c5e (patch)
tree44deae1ded16c5e818e461e7d07c25ebbe116c9b /avr/command_tbl.c
parent41d36f28612cb6c49cf0260236f3b834549883be (diff)
downloadz180-stamp-cd5ee5442821f283f6661befb24b885d944e4c5e.zip
pin command: pin groups work nowhexrel-3
Diffstat (limited to 'avr/command_tbl.c')
-rw-r--r--avr/command_tbl.c12
1 files changed, 6 insertions, 6 deletions
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] [<pins>]\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 <pins> 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 <pins> ts|i[n]|p[ullup]\n"
" - config pins as input/tristate or input with pullup\n"
- "pin pins value[K|M][Hz]\n"
+ "pin <pins> 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"
+ "<pins> is a comma separated list of numbers or ranges, i.e. \"0,9,3-6\"\n"
),
CMD_TBL_ITEM(