From f01fd66c1af3221e1f443b77b154a6d90dd0872c Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 15 Apr 2008 12:20:25 +0200 Subject: [PATCH] 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 --- mount/lomount.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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); } -- 2.39.5