From: Benno Schulenberg Date: Mon, 15 Aug 2011 11:39:33 +0000 (+0200) Subject: findmnt: slice up the help text into manageable chunks X-Git-Tag: v2.20-rc2~52 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=415b61fc31264f536d11df9501536d5669f6af2f;p=thirdparty%2Futil-linux.git findmnt: slice up the help text into manageable chunks Signed-off-by: Benno Schulenberg --- diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c index e919a9694a..2c1b20c45b 100644 --- a/misc-utils/findmnt.c +++ b/misc-utils/findmnt.c @@ -773,26 +773,32 @@ static void __attribute__((__noreturn__)) usage(FILE *out) " -s, --fstab search in static table of filesystems\n" " -m, --mtab search in table of mounted filesystems\n" " -k, --kernel search in kernel table of mounted\n" - " filesystems (default)\n\n" + " filesystems (default)\n\n")); + fprintf(out, _( " -p, --poll[=] monitor changes in table of mounted filesystems\n" - " -w, --timeout upper limit in milliseconds that --poll will block\n\n" + " -w, --timeout upper limit in milliseconds that --poll will block\n\n")); + fprintf(out, _( " -a, --ascii use ASCII chars for tree formatting\n" " -c, --canonicalize canonicalize printed paths\n" " -d, --direction direction of search, 'forward' or 'backward'\n" " -e, --evaluate convert tags (LABEL/UUID) to device names\n" - " -f, --first-only print the first found filesystem only\n" + " -f, --first-only print the first found filesystem only\n")); + + fprintf(out, _( " -h, --help display this help text and exit\n" " -i, --invert invert the sense of matching\n" " -l, --list use list format output\n" " -n, --noheadings don't print column headings\n" - " -u, --notruncate don't truncate text in columns\n" + " -u, --notruncate don't truncate text in columns\n")); + fprintf(out, _( " -O, --options limit the set of filesystems by mount options\n" " -o, --output the output columns to be shown\n" " -P, --pairs use key=\"value\" output format\n" " -r, --raw use raw output format\n" - " -t, --types limit the set of filesystems by FS types\n" + " -t, --types limit the set of filesystems by FS types\n")); + fprintf(out, _( " -v, --nofsroot don't print [/dir] for bind or btrfs mounts\n" " -R, --submounts print all submounts for the matching filesystems\n" " -S, --source the device to mount (by name, LABEL= or UUID=)\n"