[PATCH] Update --help parameter output in automount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The --help parameter output in daemon/automount.c has been updated by
removing typos, fixing formatting, As well trying to make minor
changes to to make it easier to read.

Cheers

Signed-off-by: Andreas Polnas <nurgrak@xxxxxxxxx>
---

diff --git a/daemon/automount.c b/daemon/automount.c
index 8ec4ac5..a7420fd 100644
--- a/daemon/automount.c
+++ b/daemon/automount.c
@@ -1923,33 +1923,33 @@ static void usage(void)
 {
        fprintf(stderr,
                "Usage: %s [options] [master_map_name]\n"
-               "       -h --help       this text\n"
-               "       -p --pid-file f write process id to file f\n"
-               "       -t --timeout n  auto-unmount in n seconds (0-disable)\n"
+               "       -h --help       Show this help\n"
+               "       -p --pid-file f Write process id to file \n"
+               "       -t --timeout n  Auto-unmount in n seconds (0-disable)\n"
                "       -M --master-wait n\n"
-               "                       maximum wait time (seconds)
for master\n"
+               "                       Maximum wait time for master\n"
                "                       map to become available\n"
-               "       -v --verbose    be verbose\n"
-               "       -d --debug      log debuging info\n"
-               "       -Dvariable=value, --define variable=value\n"
-               "                       define global macro variable\n"
+               "       -v --verbose    Verbose logging\n"
+               "       -d --debug      Log debugging info\n"
+               "       -D variable=value, --define variable=value\n"
+               "                       Define global macro variable\n"
                "       -S --systemd-service\n"
-               "                       run automounter as a systemd service\n"
-               "       -f --foreground do not fork into background\n"
+               "                       Run automounter as a systemd service\n"
+               "       -f --foreground Run automount daemon in the
foreground\n"
                "       -r --random-multimount-selection\n"
-               "                       use ramdom replicated server
selection\n"
+               "                       Use random replicated server
selection\n"
                "       -m --dumpmaps [<map type> <map name>]\n"
-               "                       dump automounter maps and exit\n"
+               "                       Dump automounter maps and exit\n"
                "       -n --negative-timeout n\n"
-               "                       set the timeout for failed key
lookups.\n"
+               "                       Set the timeout for failed key
lookups\n"
                "       -O --global-options\n"
-               "                       specify global mount options\n"
+               "                       Specify global mount options\n"
                "       -l --set-log-priority priority path [path,...]\n"
-               "                       set daemon log verbosity\n"
+               "                       Set daemon log verbosity\n"
                "       -C --dont-check-daemon\n"
-               "                       don't check if daemon is
already running\n"
-               "       -F --force      forceably clean up known
automounts at start\n"
-               "       -V --version    print version, build config and exit\n"
+               "                       Don't check if daemon is
already running\n"
+               "       -F --force      Forceably clean up known
automounts at start\n"
+               "       -V --version    Print package version, build
config and exit\n"
                , program);
 }



[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux