commit f6cf690aa212922c4c1b97027d16728d8a8ee99d
parent 97cbad7eefeb1cf2b2b1f52bc42b18ea017c52b9
Author: sin <sin@2f30.org>
Date: Wed, 14 Aug 2013 14:32:22 +0100
Fix usage lines
Diffstat:
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -8,7 +8,7 @@
static void
usage(void)
{
- eprintf("usage: %s [-d] swapfile\n", argv0);
+ eprintf("usage: %s [-d] device\n", argv0);
}
int