summaryrefslogtreecommitdiffstats
path: root/disk-utils/fsck.c
diff options
context:
space:
mode:
authorBenno Schulenberg2013-01-22 10:26:31 +0100
committerKarel Zak2013-01-30 15:23:51 +0100
commitde8f54834e9d244e93ce6b4f390bc524046dc644 (patch)
treea9a0eb3cff5c64e0ba9ff1fca6aa4c0c0b52b33e /disk-utils/fsck.c
parenttextual: tiny tweaks of some error messages (diff)
downloadkernel-qcow2-util-linux-de8f54834e9d244e93ce6b4f390bc524046dc644.tar.gz
kernel-qcow2-util-linux-de8f54834e9d244e93ce6b4f390bc524046dc644.tar.xz
kernel-qcow2-util-linux-de8f54834e9d244e93ce6b4f390bc524046dc644.zip
fsck: mark file descriptor for -C as optional in help text
Also slightly improve the man page. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'disk-utils/fsck.c')
-rw-r--r--disk-utils/fsck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-utils/fsck.c b/disk-utils/fsck.c
index 16746ab14..e72d78d5b 100644
--- a/disk-utils/fsck.c
+++ b/disk-utils/fsck.c
@@ -1296,7 +1296,7 @@ static int check_all(void)
static void __attribute__((__noreturn__)) usage(void)
{
printf(_("\nUsage:\n"
- " %s [fsck-options] [fs-options] [filesys ...]\n"),
+ " %s [options] [fs-options] [<filesystem>...]\n"),
program_invocation_short_name);
puts(_( "\nOptions:\n"
@@ -1311,7 +1311,7 @@ static void __attribute__((__noreturn__)) usage(void)
" -l lock the device using flock()\n"
" -N do not execute, just show what would be done\n"
" -T do not show the title on startup\n"
- " -C <fd> display progress bar; file descriptor is for GUIs\n"
+ " -C [<fd>] display progress bar; file descriptor is for GUIs\n"
" -V explain what is being done\n"
" -? display this help and exit\n\n"
"See fsck.* commands for fs-options."));