From f6cf690aa212922c4c1b97027d16728d8a8ee99d Mon Sep 17 00:00:00 2001 From: sin Date: Wed, 14 Aug 2013 14:32:22 +0100 Subject: [PATCH] Fix usage lines --- insmod.c | 2 +- mkswap.c | 2 +- mount.c | 2 +- rmmod.c | 2 +- stat.c | 2 +- swapoff.c | 2 +- swapon.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/insmod.c b/insmod.c index e1877a7..acc5322 100644 --- a/insmod.c +++ b/insmod.c @@ -11,7 +11,7 @@ static void usage(void) { - eprintf("usage: %s filename [args]\n", argv0); + eprintf("usage: %s module [args]\n", argv0); } int diff --git a/mkswap.c b/mkswap.c index 8349333..bb2b826 100644 --- a/mkswap.c +++ b/mkswap.c @@ -24,7 +24,7 @@ struct swap_hdr { static void usage(void) { - eprintf("usage: %s swapfile\n", argv0); + eprintf("usage: %s device\n", argv0); } int diff --git a/mount.c b/mount.c index 9ecd37d..61d3f95 100644 --- a/mount.c +++ b/mount.c @@ -29,7 +29,7 @@ struct { static void usage(void) { - eprintf("usage: %s [-BMRd] [-t fstype] [-o options] device dir\n", + eprintf("usage: %s [-BMRd] [-t fstype] [-o options] source target\n", argv0); } diff --git a/rmmod.c b/rmmod.c index 9475cab..6f163ce 100644 --- a/rmmod.c +++ b/rmmod.c @@ -10,7 +10,7 @@ static void usage(void) { - eprintf("usage: %s [-fw] modulename...\n", argv0); + eprintf("usage: %s [-fw] module...\n", argv0); } int diff --git a/stat.c b/stat.c index 7ff975a..4f036df 100644 --- a/stat.c +++ b/stat.c @@ -13,7 +13,7 @@ static void show_stat(const char *file, struct stat *st); static void usage(void) { - eprintf("usage: %s [-L] filename...\n", argv0); + eprintf("usage: %s [-L] file...\n", argv0); } int diff --git a/swapoff.c b/swapoff.c index 96864c9..6c6c928 100644 --- a/swapoff.c +++ b/swapoff.c @@ -8,7 +8,7 @@ static void usage(void) { - eprintf("usage: %s swapfile\n", argv0); + eprintf("usage: %s device\n", argv0); } int diff --git a/swapon.c b/swapon.c index c5429e0..468e178 100644 --- a/swapon.c +++ b/swapon.c @@ -8,7 +8,7 @@ static void usage(void) { - eprintf("usage: %s [-d] swapfile\n", argv0); + eprintf("usage: %s [-d] device\n", argv0); } int