9
0
Fork 0
barebox/arch/arm/mach-omap
Holger Schurig f1f532084a commands: harmonize in-barebox documentation
This patch does probably too much, but it's hard (and very
cumbersome/time consuming) to break it out. What is does is this:

* each command has one short description, e.g. "list MUX configuration"
* made sure the short descriptions start lowercase
* each command has one usage. That string contains just the
  options, e.g. "[-npn]". It's not part of the long help text.
* that is, it doesn't say "[OPTIONS]" anymore, every usable option
  is listed by character in this (short) option string (the long
  description is in the long help text, as before)
* help texts have been reworked, to make them
  - sometimes smaller
  - sometimes describe the options better
  - more often present themselves in a nicer format
* all long help texts are now created with BUSYBOX_CMD_HELP_
  macros, no more 'static const __maybe_unused char cmd_foobar_help[]'
* made sure the long help texts starts uppercase
* because cmdtp->name and cmdtp->opts together provide the new usage,
  all "Usage: foobar" texts have been removed from the long help texts
* BUSYBOX_CMD_HELP_TEXT() provides the trailing newline by itself, this
  is nicer in the source code
* BUSYBOX_CMD_HELP_OPT() provides the trailing newline by itself
* made sure no line gets longer than 77 characters
* delibertely renamed cmdtp->usage, so that we can get compile-time
  errors (e.g. in out-of-tree modules that use register_command()
* the 'help' command can now always emit the usage, even without
  compiled long help texts
* 'help -v' gives a list of commands with their short description, this
  is similar like the old "help" command before my patchset
* 'help -a' gives out help of all commands

Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-05-14 10:03:43 +02:00
..
include/mach ARM: omap3: Add missing include 2014-02-03 15:12:56 +01:00
Kconfig ARM: OMAP: introduce multiboard support and move am33xx boards to it 2013-12-10 14:35:35 +01:00
Makefile ARM: OMAP: Safe boot info in fixed SRAM address 2013-12-10 14:35:34 +01:00
am33xx_bbu_spi_mlo.c ARM: omap: barebox update spi nor MLO handler 2013-08-26 08:59:19 +02:00
am33xx_clock.c ARM: am33xx: Add am33xx_ prefix to SoC specific functions 2013-11-22 14:24:03 +01:00
am33xx_generic.c ARM: OMAP: Safe boot info in fixed SRAM address 2013-12-10 14:35:34 +01:00
am33xx_mux.c ARM: OMAP: AM33xx: Add basic NAND support 2013-07-09 19:33:15 +02:00
arch-omap.dox ARM: remove now unused MACH_[HAS|DO]_LOWLEVEL_INIT 2013-02-04 15:52:40 +01:00
auxcr.S ARM: OMAP3: invalidate L2 cache using ROM API 2013-03-04 17:00:23 +01:00
boot_order.c commands: harmonize in-barebox documentation 2014-05-14 10:03:43 +02:00
devices-gpmc-nand.c ARM omap: include individual SoC files 2012-12-19 21:51:49 +01:00
dmtimer0.c ARM OMAP AM33XX: create new ARCH for AM33xx 2012-12-20 11:43:10 +01:00
gpmc.c Merge branch 'for-next/omap-drivers' 2013-12-06 08:23:27 +01:00
omap3_clock.c ARM: OMAP: Add SoC prefix to running_in_* functions 2013-11-22 11:24:42 +01:00
omap3_generic.c ARM: OMAP: Safe boot info in fixed SRAM address 2013-12-10 14:35:34 +01:00
omap4_clock.c OMAP4: fix writel data/address swap regression 2013-11-25 08:28:53 +01:00
omap4_generic.c ARM: OMAP: Safe boot info in fixed SRAM address 2013-12-10 14:35:34 +01:00
omap4_rom_usb.c OMAP: Move bootsource functions 2013-04-03 09:21:12 +02:00
omap4_twl6030_mmc.c twl6030: Set WR_S for VMMC 2013-05-31 09:03:18 +02:00
omap_devices.c serial: ns16550: Add device ids for omap 2013-11-22 10:56:49 +01:00
omap_fb.c ARM omap-fb: add board helper code 2013-06-24 21:49:34 +02:00
omap_generic.c mount: support filesystem options passed via -o 2014-02-10 09:02:21 +01:00
s32k_clksource.c ARM omap: Use SoC specific defines for gpmc and timer base 2012-12-19 21:51:49 +01:00
syslib.c Remove old, inaccurate "FileName:" cruft from ARM files 2012-12-05 19:51:14 +01:00
xload.c mount: support filesystem options passed via -o 2014-02-10 09:02:21 +01:00