From: Benno Schulenberg Date: Tue, 15 Apr 2008 10:20:25 +0000 (+0200) Subject: losetup: split help message into two smaller parts X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f01fd66c1af3221e1f443b77b154a6d90dd0872c;p=util-linux losetup: split help message into two smaller parts As it has already changed since the previous release, take the opportunity to cut it into two more manageable chunks for translators. Signed-off-by: Benno Schulenberg Signed-off-by: Karel Zak --- diff --git a/mount/lomount.c b/mount/lomount.c index 028986f5..c3ac68a7 100644 --- a/mount/lomount.c +++ b/mount/lomount.c @@ -832,8 +832,10 @@ usage(void) { " %1$s -d | --detach delete\n" " %1$s -f | --find find unused\n" " %1$s -j | --associated [-o ] list all associated with \n" - " %1$s [ options ] {-f|--find|loopdev} setup\n" - "\nOptions:\n" + " %1$s [ options ] {-f|--find|loopdev} setup\n"), + progname); + + fprintf(stderr, _("\nOptions:\n" " -e | --encryption enable data encryption with specified \n" " -h | --help this help\n" " -o | --offset start at offset into file\n" @@ -841,8 +843,7 @@ usage(void) { " -p | --pass-fd read passphrase from file descriptor \n" " -r | --read-only setup read-only loop device\n" " --show print device name (with -f )\n" - " -v | --verbose verbose mode\n\n"), - progname); + " -v | --verbose verbose mode\n\n")); exit(1); }