mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guangya Liu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-5640) Unify the help info for master/agent flags
Date Sat, 18 Jun 2016 01:27:05 GMT
Guangya Liu created MESOS-5640:
----------------------------------

             Summary: Unify the help info for master/agent flags
                 Key: MESOS-5640
                 URL: https://issues.apache.org/jira/browse/MESOS-5640
             Project: Mesos
          Issue Type: Bug
            Reporter: Guangya Liu
            Priority: Minor


Currently, in master/flags.cpp, some flags end up with a "\n" while some not, this caused
the output not consistent.

{code}
--[no-]hostname_lookup                                                         Whether we
should execute a lookup to find out the server's hostname,
                                                                                 if not explicitly
set (via, e.g., `--hostname`).
                                                                                 True by default;
if set to `false` it will cause Mesos
                                                                                 to use the
IP address, unless the hostname is explicitly set. (default: true)
  --http_authenticators=VALUE                                                    HTTP authenticator
implementation to use when handling requests to
                                                                                 authenticated
endpoints. Use the default
                                                                                 `basic`,
or load an alternate
                                                                                 HTTP authenticator
module using `--modules`.

                                                                                 Currently
there is no support for multiple HTTP authenticators. (default: basic)
  --http_framework_authenticators=VALUE                                          HTTP authenticator
implementation to use when authenticating HTTP
                                                                                 frameworks.
Use the
                                                                                 `basic` authenticator
or load an
                                                                                 alternate
authenticator module using `--modules`.
                                                                                 Must be used
in conjunction with `--http_authenticate_frameworks`.
{code}

I think we should follow the linux "man command" format by adding "\n" to all flags.

The following is a sample output for "man ls".

{code}
 -@      Display extended attribute keys and sizes in long (-l) output.

     -1      (The numeric digit ``one''.)  Force output to be one entry per line.  This is
the default when output is not to a terminal.

     -A      List all entries except for . and ...  Always set for the super-user.

     -a      Include directory entries whose names begin with a dot (.).

     -B      Force printing of non-printable characters (as defined by ctype(3) and current
locale settings) in file names as \xxx, where xxx is the numeric value of the character
             in octal.

     -b      As -B, but use C escape codes whenever possible.
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message