]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lslocks: slice up the recently modified usage text
authorBenno Schulenberg <bensberg@justemail.net>
Sat, 1 Aug 2015 08:23:08 +0000 (10:23 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 3 Aug 2015 09:18:59 +0000 (11:18 +0200)
For ease of translation when it changes.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
misc-utils/lslocks.c

index 01469ce5ff5951cba1e19178fc626e611ab6c241..35ca5c75a2b3bac04c51eb9e4d5d26f9589106d7 100644 (file)
@@ -518,14 +518,16 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out)
        fputs(_("List local system locks.\n"), out);
 
        fputs(USAGE_OPTIONS, out);
-       fputs(_(" -J, --json             use JSON output format\n"
-               " -p, --pid <pid>        process id\n"
-               " -o, --output <list>    define which output columns to use\n"
-               " -n, --noheadings       don't print headings\n"
-               " -r, --raw              use the raw output format\n"
-               " -u, --notruncate       don't truncate text in columns\n"
-               " -h, --help             display this help and exit\n"
-               " -V, --version          output version information and exit\n"), out);
+       fputs(_(" -J, --json             use JSON output format\n"), out);
+       fputs(_(" -n, --noheadings       don't print headings\n"), out);
+       fputs(_(" -o, --output <list>    define which output columns to use\n"), out);
+       fputs(_(" -p, --pid <pid>        display only locks held by this process\n"), out);
+       fputs(_(" -r, --raw              use the raw output format\n"), out);
+       fputs(_(" -u, --notruncate       don't truncate text in columns\n"), out);
+
+       fputs(USAGE_SEPARATOR, out);
+       fputs(USAGE_HELP, out);
+       fputs(USAGE_VERSION, out);
 
        fputs(_("\nAvailable columns (for --output):\n"), out);