summaryrefslogtreecommitdiffstats
path: root/sbin/swapon/swapon.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/swapon/swapon.c')
-rw-r--r--sbin/swapon/swapon.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sbin/swapon/swapon.c b/sbin/swapon/swapon.c
index 2d330a6..13297f9 100644
--- a/sbin/swapon/swapon.c
+++ b/sbin/swapon/swapon.c
@@ -194,14 +194,12 @@ usage(void)
{
fprintf(stderr, "usage: %s ", getprogname());
switch(orig_prog) {
- case SWAPOFF:
- fprintf(stderr, "[-a] [special_file ...]\n");
- break;
case SWAPON:
- fprintf(stderr, "[-a] [special_file ...]\n");
+ case SWAPOFF:
+ fprintf(stderr, "-a | file ...\n");
break;
case SWAPCTL:
- fprintf(stderr, "[-lshAU] [-a/-d special_file ...]\n");
+ fprintf(stderr, "[-AhklsU] [-a file ... | -d file ...]\n");
break;
}
exit(1);
OpenPOWER on IntegriCloud