From 83d9110053e79007d61bdea1c817265dd52c89c8 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Tue, 22 Jan 2013 23:27:10 +0000 Subject: umount: make usage() translator friendly Signed-off-by: Sami Kerola --- sys-utils/umount.c | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) (limited to 'sys-utils/umount.c') diff --git a/sys-utils/umount.c b/sys-utils/umount.c index 396052c5f..e5a8650ea 100644 --- a/sys-utils/umount.c +++ b/sys-utils/umount.c @@ -78,22 +78,19 @@ static void __attribute__((__noreturn__)) usage(FILE *out) program_invocation_short_name); fputs(USAGE_OPTIONS, out); - fprintf(out, _( - " -a, --all umount all filesystems\n" - " -c, --no-canonicalize don't canonicalize paths\n" - " -d, --detach-loop if mounted loop device, also free this loop device\n" - " --fake dry run; skip the umount(2) syscall\n" - " -f, --force force unmount (in case of an unreachable NFS system)\n")); - fprintf(out, _( - " -i, --internal-only don't call the umount. helpers\n" - " -n, --no-mtab don't write to /etc/mtab\n" - " -l, --lazy detach the filesystem now, and cleanup all later\n")); - fprintf(out, _( - " -O, --test-opts limit the set of filesystems (use with -a)\n" - " -R, --recursive recursively unmount a target with all its children\n" - " -r, --read-only In case unmounting fails, try to remount read-only\n" - " -t, --types limit the set of filesystem types\n" - " -v, --verbose say what is being done\n")); + fputs(_(" -a, --all umount all filesystems\n"), out); + fputs(_(" -c, --no-canonicalize don't canonicalize paths\n"), out); + fputs(_(" -d, --detach-loop if mounted loop device, also free this loop device\n"), out); + fputs(_(" --fake dry run; skip the umount(2) syscall\n"), out); + fputs(_(" -f, --force force unmount (in case of an unreachable NFS system)\n"), out); + fputs(_(" -i, --internal-only don't call the umount. helpers\n"), out); + fputs(_(" -n, --no-mtab don't write to /etc/mtab\n"), out); + fputs(_(" -l, --lazy detach the filesystem now, and cleanup all later\n"), out); + fputs(_(" -O, --test-opts limit the set of filesystems (use with -a)\n"), out); + fputs(_(" -R, --recursive recursively unmount a target with all its children\n"), out); + fputs(_(" -r, --read-only In case unmounting fails, try to remount read-only\n"), out); + fputs(_(" -t, --types limit the set of filesystem types\n"), out); + fputs(_(" -v, --verbose say what is being done\n"), out); fputs(USAGE_SEPARATOR, out); fputs(USAGE_HELP, out); -- cgit v1.2.3-55-g7522