diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-08 07:52:34 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-08 07:52:36 +0200 |
commit | deef1e80f3584af6392ab266a77bf580bfcca773 (patch) | |
tree | f8417fd957b76e5984a9f18b339b2d509678b739 | |
parent | 37f47a2a8c2dba420a849625b2926dacdc23cf49 (diff) | |
download | barebox-deef1e80f3584af6392ab266a77bf580bfcca773.tar.gz barebox-deef1e80f3584af6392ab266a77bf580bfcca773.tar.xz |
Do not use macros in command help
The help texts are parsed by sphinx which cannot handle macros, so
replace them with their values.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | commands/loadb.c | 2 | ||||
-rw-r--r-- | commands/loadxy.c | 2 | ||||
-rw-r--r-- | net/dhcp.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/commands/loadb.c b/commands/loadb.c index 28eebf45c1..7424bcc08c 100644 --- a/commands/loadb.c +++ b/commands/loadb.c @@ -701,7 +701,7 @@ static int do_load_serial_bin(int argc, char *argv[]) BAREBOX_CMD_HELP_START(loadb) BAREBOX_CMD_HELP_TEXT("") BAREBOX_CMD_HELP_TEXT("Options:") -BAREBOX_CMD_HELP_OPT("-f FILE", "download to FILE (default " DEF_FILE ")") +BAREBOX_CMD_HELP_OPT("-f FILE", "download to FILE (default image.bin") BAREBOX_CMD_HELP_OPT("-o OFFS", "destination file OFFSet (default 0)") BAREBOX_CMD_HELP_OPT("-b BAUD", "baudrate for download (default: console baudrate") BAREBOX_CMD_HELP_OPT("-c", "create file if not present") diff --git a/commands/loadxy.c b/commands/loadxy.c index 3044f37112..df14043d69 100644 --- a/commands/loadxy.c +++ b/commands/loadxy.c @@ -242,7 +242,7 @@ static int do_loadx(int argc, char *argv[]) BAREBOX_CMD_HELP_START(loadx) BAREBOX_CMD_HELP_TEXT("Options:") -BAREBOX_CMD_HELP_OPT("-f FILE", "download to FILE (default " DEF_FILE ")") +BAREBOX_CMD_HELP_OPT("-f FILE", "download to FILE (default image.bin") BAREBOX_CMD_HELP_OPT("-o OFFS", "destination file OFFSet (default 0)") BAREBOX_CMD_HELP_OPT("-b BAUD", "baudrate for download (default: console baudrate") BAREBOX_CMD_HELP_OPT("-t NAME", "console name to use (default: current)") diff --git a/net/dhcp.c b/net/dhcp.c index 070e3bc554..9551d60ad4 100644 --- a/net/dhcp.c +++ b/net/dhcp.c @@ -796,7 +796,7 @@ BAREBOX_CMD_HELP_OPT ("-v ID\t", "DHCP Vendor ID (code 60) submitted in DHCP req BAREBOX_CMD_HELP_OPT ("-c ID\t", "DHCP Client ID (code 61) submitted in DHCP requests") BAREBOX_CMD_HELP_OPT ("-u UUID\t", "DHCP Client UUID (code 97) submitted in DHCP requests") BAREBOX_CMD_HELP_OPT ("-U CLASS", "DHCP User class (code 77) submitted in DHCP requests") -BAREBOX_CMD_HELP_OPT ("-r RETRY", "retry limit (default "__stringify(DHCP_DEFAULT_RETRY)")"); +BAREBOX_CMD_HELP_OPT ("-r RETRY", "retry limit (default 20)"); BAREBOX_CMD_HELP_END BAREBOX_CMD_START(dhcp) |