aboutsummaryrefslogtreecommitdiff
path: root/util-linux/swaponoff.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
committerMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /util-linux/swaponoff.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.bz2
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.zip
Extract usage information into a separate file.
Diffstat (limited to 'util-linux/swaponoff.c')
-rw-r--r--util-linux/swaponoff.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index a79b93a23..6aafe51a2 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -35,25 +35,6 @@ _syscall1(int, swapoff, const char *, path);
35 35
36static int whichApp; 36static int whichApp;
37 37
38static const char swapoff_usage[] =
39 "swapoff [OPTION] [device]\n"
40#ifndef BB_FEATURE_TRIVIAL_HELP
41 "\nStop swapping virtual memory pages on the given device.\n\n"
42 "Options:\n"
43 "\t-a\tStop swapping on all swap devices\n"
44#endif
45 ;
46
47static const char swapon_usage[] =
48 "swapon [OPTION] [device]\n"
49#ifndef BB_FEATURE_TRIVIAL_HELP
50 "\nStart swapping virtual memory pages on the given device.\n\n"
51 "Options:\n"
52 "\t-a\tStart swapping on all swap devices\n"
53#endif
54 ;
55
56
57#define SWAPON_APP 1 38#define SWAPON_APP 1
58#define SWAPOFF_APP 2 39#define SWAPOFF_APP 2
59 40