summaryrefslogtreecommitdiffstats
path: root/disk-utils/fsck.c
diff options
context:
space:
mode:
authorBenno Schulenberg2013-01-23 14:16:18 +0100
committerKarel Zak2013-01-30 15:24:02 +0100
commit0ae633154351d1b0181571a629cc69846f055fbe (patch)
treed10aec96725ba5c562a2ac1aaf02954670098dd1 /disk-utils/fsck.c
parenttextual: standardize the reporting of program name plus package version (diff)
downloadkernel-qcow2-util-linux-0ae633154351d1b0181571a629cc69846f055fbe.tar.gz
kernel-qcow2-util-linux-0ae633154351d1b0181571a629cc69846f055fbe.tar.xz
kernel-qcow2-util-linux-0ae633154351d1b0181571a629cc69846f055fbe.zip
textual: slice the help text of fsck into strips, for translators
Also improve the descriptions a bit and alphabetize the options. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'disk-utils/fsck.c')
-rw-r--r--disk-utils/fsck.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/disk-utils/fsck.c b/disk-utils/fsck.c
index e72d78d5b..0d3fe5f59 100644
--- a/disk-utils/fsck.c
+++ b/disk-utils/fsck.c
@@ -1295,26 +1295,26 @@ static int check_all(void)
static void __attribute__((__noreturn__)) usage(void)
{
- printf(_("\nUsage:\n"
- " %s [options] [fs-options] [<filesystem>...]\n"),
- program_invocation_short_name);
-
- puts(_( "\nOptions:\n"
- " -A check all filesystems\n"
- " -R skip root filesystem; useful only with `-A'\n"
- " -M do not check mounted filesystems\n"
- " -t <type> specify filesystem types to be checked;\n"
- " type is allowed to be comma-separated list\n"
- " -P check filesystems in parallel, including root\n"
- " -r report statistics for each device fsck\n"
- " -s serialize fsck operations\n"
- " -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"
- " -V explain what is being done\n"
- " -? display this help and exit\n\n"
- "See fsck.* commands for fs-options."));
+ printf(_("\nUsage:\n"));
+ printf(_(" %s [options] [fs-options] [<filesystem>...]\n"),
+ program_invocation_short_name);
+
+ puts(_( "\nOptions:\n"));
+ puts(_( " -A check all filesystems\n"));
+ puts(_( " -C [<fd>] display progress bar; file descriptor is for GUIs\n"));
+ puts(_( " -l lock the device to guarantee exclusive access\n"));
+ puts(_( " -M do not check mounted filesystems\n"));
+ puts(_( " -N do not execute, just show what would be done\n"));
+ puts(_( " -P check filesystems in parallel, including root\n"));
+ puts(_( " -R skip root filesystem; useful only with '-A'\n"));
+ puts(_( " -r report statistics for each device checked\n"));
+ puts(_( " -s serialize the checking operations\n"));
+ puts(_( " -T do not show the title on startup\n"));
+ puts(_( " -t <type> specify filesystem types to be checked;\n"
+ " <type> is allowed to be a comma-separated list\n"));
+ puts(_( " -V explain what is being done\n"));
+ puts(_( " -? display this help and exit\n\n"));
+ puts(_( "See the specific fsck.* commands for available fs-options."));
exit(FSCK_EX_USAGE);
}