summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2009-08-27 20:47:35 +0200
committerDenys Vlasenko2009-08-27 20:47:35 +0200
commit33d7b72d337560c9e39421747864d8e4e262c6c1 (patch)
tree3ada3a5ef5ff21e0a33fd12050be196ec226cc43 /include
parent691161a7a75969470079a2b04654809fe3e83111 (diff)
downloadbusybox-33d7b72d337560c9e39421747864d8e4e262c6c1.zip
busybox-33d7b72d337560c9e39421747864d8e4e262c6c1.tar.gz
more help text tweaking
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/usage.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/include/usage.h b/include/usage.h
index dfe0558..ba77490 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2287,10 +2287,9 @@
" linux64 Set 64bit uname emulation" \
#define ln_trivial_usage \
- "[OPTIONS] TARGET... LINK_NAME|DIRECTORY"
+ "[OPTIONS] TARGET... LINK|DIRECTORY"
#define ln_full_usage "\n\n" \
- "Create a link named LINK_NAME or DIRECTORY to the specified TARGET.\n" \
- "Use '--' to indicate that all following arguments are non-options.\n" \
+ "Create a link LINK or DIRECTORY/TARGET to the specified TARGET(s)\n" \
"\nOptions:" \
"\n -s Make symlinks instead of hardlinks" \
"\n -f Remove existing destination files" \
@@ -3211,8 +3210,7 @@
#define chpasswd_trivial_usage \
IF_LONG_OPTS("[--md5|--encrypted]") IF_NOT_LONG_OPTS("[-m|-e]")
#define chpasswd_full_usage "\n\n" \
- "Read user:password information from stdin " \
- "and update /etc/passwd accordingly.\n" \
+ "Read user:password from stdin and update /etc/passwd\n" \
"\nOptions:" \
IF_LONG_OPTS( \
"\n -e,--encrypted Supplied passwords are in encrypted form" \
@@ -3608,13 +3606,13 @@
#define rmdir_full_usage "\n\n" \
"Remove the DIRECTORY, if it is empty\n" \
"\nOptions:" \
- IF_FEATURE_RMDIR_LONG_OPTIONS( \
+ IF_FEATURE_RMDIR_LONG_OPTIONS( \
"\n -p|--parents Include parents" \
- "\n -ignore-fail-on-non-empty" \
- ) \
- IF_NOT_FEATURE_RMDIR_LONG_OPTIONS( \
+ "\n --ignore-fail-on-non-empty" \
+ ) \
+ IF_NOT_FEATURE_RMDIR_LONG_OPTIONS( \
"\n -p Include parents" \
- )
+ )
#define rmdir_example_usage \
"# rmdir /tmp/foo\n"