aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2004-07-23 06:06:21 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2004-07-23 06:06:21 +0000
commitc0dd26f68d3b7956beed6f32088f73356fe2aa16 (patch)
tree91fe2b81bbd97a8d25ff39dcd96ee61230de5040
parentd250167bd26339eac7b68043c342629bd54e5b43 (diff)
downloadbusybox-c0dd26f68d3b7956beed6f32088f73356fe2aa16.tar.gz
Patch from Felipe Kellermann, fixup usage for pidof, poweroff, remove
some trailing '\n'
-rw-r--r--include/usage.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/include/usage.h b/include/usage.h
index 078fa9919..5a351df44 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -828,11 +828,11 @@
"-rw-rw-r-- 1 andersen andersen 554058 Apr 14 17:49 /tmp/busybox.tar.gz\n"
#define halt_trivial_usage \
- "[-d<delay>"
+ "[-d<delay>]"
#define halt_full_usage \
"Halt the system.\n" \
"Options:\n" \
- "\t-d\t\tdelay interval for halting.\n"
+ "\t-d\t\tdelay interval for halting."
#ifdef CONFIG_FEATURE_HDPARM_GET_IDENTITY
#define USAGE_HDPARM_IDENT(a) a
@@ -1840,10 +1840,12 @@
"$ patch -p1 <example.diff"
#define pidof_trivial_usage \
- "process-name [process-name ...]"
+ "process-name [OPTION] [process-name ...]"
#define pidof_full_usage \
"Lists the PIDs of all processes with names that match the\n" \
- "names on the command line"
+ "names on the command line.\n" \
+ "Options:\n" \
+ "\t-s\t\tdisplay only a single PID."
#define pidof_example_usage \
"$ pidof init\n" \
"1\n"
@@ -1901,9 +1903,11 @@
"the new root file system."
#define poweroff_trivial_usage \
- ""
+ "[-d<delay>]"
#define poweroff_full_usage \
- "Halt the system and request that the kernel shut off the power."
+ "Halt the system and request that the kernel shut off the power.\n" \
+ "Options:\n" \
+ "\t-d\t\tdelay interval for shutting off."
#define printf_trivial_usage \
"FORMAT [ARGUMENT...]"
@@ -1977,7 +1981,7 @@
#define reboot_full_usage \
"Reboot the system.\n" \
"Options:\n" \
- "\t-d\t\tdelay interval for rebooting.\n"
+ "\t-d\t\tdelay interval for rebooting."
#define renice_trivial_usage \
"priority pid [pid ...]"