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(