summaryrefslogtreecommitdiffstats
path: root/sys-utils/nsenter.c
diff options
context:
space:
mode:
authorSami Kerola2013-01-23 00:27:01 +0100
committerKarel Zak2013-01-25 16:40:04 +0100
commit26f879edf53503db81739d7b27720e57fabedf18 (patch)
treea55986557b94f2c260aecd86a824182a09c8b964 /sys-utils/nsenter.c
parentdocs: usage function and gettext (diff)
downloadkernel-qcow2-util-linux-26f879edf53503db81739d7b27720e57fabedf18.tar.gz
kernel-qcow2-util-linux-26f879edf53503db81739d7b27720e57fabedf18.tar.xz
kernel-qcow2-util-linux-26f879edf53503db81739d7b27720e57fabedf18.zip
nsenter: make usage() translator friendly
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/nsenter.c')
-rw-r--r--sys-utils/nsenter.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/sys-utils/nsenter.c b/sys-utils/nsenter.c
index 926eb6227..b6e6dc1a4 100644
--- a/sys-utils/nsenter.c
+++ b/sys-utils/nsenter.c
@@ -64,16 +64,17 @@ static void usage(int status)
program_invocation_short_name);
fputs(USAGE_OPTIONS, out);
- fputs(_(" -t, --target <pid> target process to get namespaces from\n"
- " -m, --mount [=<file>] enter mount namespace\n"
- " -u, --uts [=<file>] enter UTS namespace (hostname etc)\n"
- " -i, --ipc [=<file>] enter System V IPC namespace\n"
- " -n, --net [=<file>] enter network namespace\n"
- " -p, --pid [=<file>] enter pid namespace\n"
- " -U, --user [=<file>] enter user namespace\n"
- " -r, --root [=<dir>] set the root directory\n"
- " -w, --wd [=<dir>] set the working directory\n"
- " -F, --no-fork don't fork before exec'ing <program>\n"), out);
+ fputs(_(" -t, --target <pid> target process to get namespaces from\n"), out);
+ fputs(_(" -m, --mount [=<file>] enter mount namespace\n"), out);
+ fputs(_(" -u, --uts [=<file>] enter UTS namespace (hostname etc)\n"), out);
+ fputs(_(" -i, --ipc [=<file>] enter System V IPC namespace\n"), out);
+ fputs(_(" -n, --net [=<file>] enter network namespace\n"), out);
+ fputs(_(" -p, --pid [=<file>] enter pid namespace\n"), out);
+ fputs(_(" -U, --user [=<file>] enter user namespace\n"), out);
+ fputs(_(" -r, --root [=<dir>] set the root directory\n"), out);
+ fputs(_(" -w, --wd [=<dir>] set the working directory\n"), out);
+ fputs(_(" -F, --no-fork do not fork before exec'ing <program>\n"), out);
+
fputs(USAGE_SEPARATOR, out);
fputs(USAGE_HELP, out);
fputs(USAGE_VERSION, out);