summaryrefslogtreecommitdiffstats
path: root/mount/lomount.c
diff options
context:
space:
mode:
authorBenno Schulenberg2008-04-15 12:20:25 +0200
committerKarel Zak2008-04-16 00:22:46 +0200
commitf01fd66c1af3221e1f443b77b154a6d90dd0872c (patch)
treedba05bc80441d72e31ce900080c6ad8a8df5891d /mount/lomount.c
parentswapon: fix swsuspend detection (diff)
downloadkernel-qcow2-util-linux-f01fd66c1af3221e1f443b77b154a6d90dd0872c.tar.gz
kernel-qcow2-util-linux-f01fd66c1af3221e1f443b77b154a6d90dd0872c.tar.xz
kernel-qcow2-util-linux-f01fd66c1af3221e1f443b77b154a6d90dd0872c.zip
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 <bensberg@justemail.net> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/lomount.c')
-rw-r--r--mount/lomount.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mount/lomount.c b/mount/lomount.c
index 028986f56..c3ac68a70 100644
--- a/mount/lomount.c
+++ b/mount/lomount.c
@@ -832,8 +832,10 @@ usage(void) {
" %1$s -d | --detach <loopdev> delete\n"
" %1$s -f | --find find unused\n"
" %1$s -j | --associated <file> [-o <num>] list all associated with <file>\n"
- " %1$s [ options ] {-f|--find|loopdev} <file> setup\n"
- "\nOptions:\n"
+ " %1$s [ options ] {-f|--find|loopdev} <file> setup\n"),
+ progname);
+
+ fprintf(stderr, _("\nOptions:\n"
" -e | --encryption <type> enable data encryption with specified <name/num>\n"
" -h | --help this help\n"
" -o | --offset <num> start at offset <num> into file\n"
@@ -841,8 +843,7 @@ usage(void) {
" -p | --pass-fd <num> read passphrase from file descriptor <num>\n"
" -r | --read-only setup read-only loop device\n"
" --show print device name (with -f <file>)\n"
- " -v | --verbose verbose mode\n\n"),
- progname);
+ " -v | --verbose verbose mode\n\n"));
exit(1);
}