diff options
| author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-07-23 06:06:21 +0000 |
|---|---|---|
| committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-07-23 06:06:21 +0000 |
| commit | ac89b1090f78b26ea006b931b1eea51cfe40ec98 (patch) | |
| tree | 91fe2b81bbd97a8d25ff39dcd96ee61230de5040 /include | |
| parent | 828bca6644180dafcff1af30bce4ddfd12152ca4 (diff) | |
| download | busybox-w32-ac89b1090f78b26ea006b931b1eea51cfe40ec98.tar.gz busybox-w32-ac89b1090f78b26ea006b931b1eea51cfe40ec98.tar.bz2 busybox-w32-ac89b1090f78b26ea006b931b1eea51cfe40ec98.zip | |
Patch from Felipe Kellermann, fixup usage for pidof, poweroff, remove
some trailing '\n'
git-svn-id: svn://busybox.net/trunk/busybox@9009 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/usage.h | 18 |
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 @@ | |||
| 828 | "-rw-rw-r-- 1 andersen andersen 554058 Apr 14 17:49 /tmp/busybox.tar.gz\n" | 828 | "-rw-rw-r-- 1 andersen andersen 554058 Apr 14 17:49 /tmp/busybox.tar.gz\n" |
| 829 | 829 | ||
| 830 | #define halt_trivial_usage \ | 830 | #define halt_trivial_usage \ |
| 831 | "[-d<delay>" | 831 | "[-d<delay>]" |
| 832 | #define halt_full_usage \ | 832 | #define halt_full_usage \ |
| 833 | "Halt the system.\n" \ | 833 | "Halt the system.\n" \ |
| 834 | "Options:\n" \ | 834 | "Options:\n" \ |
| 835 | "\t-d\t\tdelay interval for halting.\n" | 835 | "\t-d\t\tdelay interval for halting." |
| 836 | 836 | ||
| 837 | #ifdef CONFIG_FEATURE_HDPARM_GET_IDENTITY | 837 | #ifdef CONFIG_FEATURE_HDPARM_GET_IDENTITY |
| 838 | #define USAGE_HDPARM_IDENT(a) a | 838 | #define USAGE_HDPARM_IDENT(a) a |
| @@ -1840,10 +1840,12 @@ | |||
| 1840 | "$ patch -p1 <example.diff" | 1840 | "$ patch -p1 <example.diff" |
| 1841 | 1841 | ||
| 1842 | #define pidof_trivial_usage \ | 1842 | #define pidof_trivial_usage \ |
| 1843 | "process-name [process-name ...]" | 1843 | "process-name [OPTION] [process-name ...]" |
| 1844 | #define pidof_full_usage \ | 1844 | #define pidof_full_usage \ |
| 1845 | "Lists the PIDs of all processes with names that match the\n" \ | 1845 | "Lists the PIDs of all processes with names that match the\n" \ |
| 1846 | "names on the command line" | 1846 | "names on the command line.\n" \ |
| 1847 | "Options:\n" \ | ||
| 1848 | "\t-s\t\tdisplay only a single PID." | ||
| 1847 | #define pidof_example_usage \ | 1849 | #define pidof_example_usage \ |
| 1848 | "$ pidof init\n" \ | 1850 | "$ pidof init\n" \ |
| 1849 | "1\n" | 1851 | "1\n" |
| @@ -1901,9 +1903,11 @@ | |||
| 1901 | "the new root file system." | 1903 | "the new root file system." |
| 1902 | 1904 | ||
| 1903 | #define poweroff_trivial_usage \ | 1905 | #define poweroff_trivial_usage \ |
| 1904 | "" | 1906 | "[-d<delay>]" |
| 1905 | #define poweroff_full_usage \ | 1907 | #define poweroff_full_usage \ |
| 1906 | "Halt the system and request that the kernel shut off the power." | 1908 | "Halt the system and request that the kernel shut off the power.\n" \ |
| 1909 | "Options:\n" \ | ||
| 1910 | "\t-d\t\tdelay interval for shutting off." | ||
| 1907 | 1911 | ||
| 1908 | #define printf_trivial_usage \ | 1912 | #define printf_trivial_usage \ |
| 1909 | "FORMAT [ARGUMENT...]" | 1913 | "FORMAT [ARGUMENT...]" |
| @@ -1977,7 +1981,7 @@ | |||
| 1977 | #define reboot_full_usage \ | 1981 | #define reboot_full_usage \ |
| 1978 | "Reboot the system.\n" \ | 1982 | "Reboot the system.\n" \ |
| 1979 | "Options:\n" \ | 1983 | "Options:\n" \ |
| 1980 | "\t-d\t\tdelay interval for rebooting.\n" | 1984 | "\t-d\t\tdelay interval for rebooting." |
| 1981 | 1985 | ||
| 1982 | #define renice_trivial_usage \ | 1986 | #define renice_trivial_usage \ |
| 1983 | "priority pid [pid ...]" | 1987 | "priority pid [pid ...]" |
