Whamcloud - gitweb
badblocks: Insert a missing "\n" in the usage string.
authorBenno Schulenberg <bensberg@justemail.net>
Thu, 17 Jul 2008 21:32:02 +0000 (23:32 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 19 Jul 2008 01:14:21 +0000 (21:14 -0400)
Take the opportunity to wrap the string to be more readable,
and sort the options somewhat alphabetically.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/badblocks.c

index 946c839..ef6ab5b 100644 (file)
@@ -81,7 +81,11 @@ unsigned int sys_page_size = 4096;
 
 static void usage(void)
 {
-       fprintf(stderr, _("Usage: %s [-b block_size] [-i input_file] [-o output_file] [-svwnf]\n [-c blocks_at_once] [-p num_passes] [-e max_bad_blocks] [-d delay_factor_between_reads] [-t test_pattern [-t test_pattern [...]]]\n device [last_block [first_block]]\n"),
+       fprintf(stderr, _(
+"Usage: %s [-b block_size] [-i input_file] [-o output_file] [-svwnf]\n"
+"       [-c blocks_at_once] [-d delay_factor_between_reads] [-e max_bad_blocks]\n"
+"       [-p num_passes] [-t test_pattern [-t test_pattern [...]]]\n"
+"       device [last_block [first_block]]\n"),
                 program_name);
        exit (1);
 }