From: Benno Schulenberg Date: Thu, 17 Jul 2008 21:32:02 +0000 (+0200) Subject: badblocks: Insert a missing "\n" in the usage string. X-Git-Tag: v1.41.1~102 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad39bcd9e3b0fe98c33825db6dfdf343463e388c;p=thirdparty%2Fe2fsprogs.git badblocks: Insert a missing "\n" in the usage string. Take the opportunity to wrap the string to be more readable, and sort the options somewhat alphabetically. Signed-off-by: Benno Schulenberg Signed-off-by: Theodore Ts'o --- diff --git a/misc/badblocks.c b/misc/badblocks.c index 946c839f0..ef6ab5b25 100644 --- a/misc/badblocks.c +++ b/misc/badblocks.c @@ -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); }