From ad39bcd9e3b0fe98c33825db6dfdf343463e388c Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 17 Jul 2008 23:32:02 +0200 Subject: [PATCH] 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 --- misc/badblocks.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); } -- 2.47.3