]> err.no Git - util-linux/commitdiff
losetup: split help message into two smaller parts
authorBenno Schulenberg <bensberg@justemail.net>
Tue, 15 Apr 2008 10:20:25 +0000 (12:20 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 15 Apr 2008 22:22:46 +0000 (00:22 +0200)
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>
mount/lomount.c

index 028986f5659d6e58c09ddd0545c6a80979e173bf..c3ac68a704f89765eb257a5af8526a3d587becde 100644 (file)
@@ -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);
  }