summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorMatt Kraai2000-07-16 20:57:15 +0000
committerMatt Kraai2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /procps
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip
busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'procps')
-rw-r--r--procps/free.c7
-rw-r--r--procps/kill.c18
-rw-r--r--procps/ps.c8
3 files changed, 0 insertions, 33 deletions
diff --git a/procps/free.c b/procps/free.c
index 7c9d7f1..78298cf 100644
--- a/procps/free.c
+++ b/procps/free.c
@@ -25,13 +25,6 @@
#include <stdio.h>
#include <errno.h>
-const char free_usage[] =
- "free\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nDisplays the amount of free and used system memory\n"
-#endif
- ;
-
extern int free_main(int argc, char **argv)
{
struct sysinfo info;
diff --git a/procps/kill.c b/procps/kill.c
index 44cb383..da46620 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -31,24 +31,6 @@
#include <sys/stat.h>
#include <unistd.h>
-static const char *kill_usage =
- "kill [-signal] process-id [process-id ...]\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nSend a signal (default is SIGTERM) to the specified process(es).\n\n"
- "Options:\n" "\t-l\tList all signal names and numbers.\n\n"
-#endif
- ;
-
-#ifdef BB_KILLALL
-static const char *killall_usage =
- "killall [-signal] process-name [process-name ...]\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nSend a signal (default is SIGTERM) to the specified process(es).\n\n"
- "Options:\n" "\t-l\tList all signal names and numbers.\n\n"
-#endif
-#endif
- ;
-
#define KILL 0
#define KILLALL 1
diff --git a/procps/ps.c b/procps/ps.c
index 74e79f5..fc58a9b 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -114,14 +114,6 @@ static void parse_proc_status(char *S, proc_t * P)
}
-const char ps_usage[] =
- "ps\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nReport process status\n"
- "\nThis version of ps accepts no options.\n"
-#endif
- ;
-
extern int ps_main(int argc, char **argv)
{
proc_t p;