airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fo...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-2264] Improve create_user cli help message
Date Wed, 28 Mar 2018 21:09:48 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master e21a2d2c7 -> 0c3a1af03


[AIRFLOW-2264] Improve create_user cli help message

Closes #3168 from feng-tao/airflow-2264


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/0c3a1af0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/0c3a1af0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/0c3a1af0

Branch: refs/heads/master
Commit: 0c3a1af031127720e5a6fdfe2d1eda2aa1a9a631
Parents: e21a2d2
Author: Tao feng <tfeng@lyft.com>
Authored: Wed Mar 28 23:09:42 2018 +0200
Committer: Fokko Driesprong <fokkodriesprong@godatadriven.com>
Committed: Wed Mar 28 23:09:42 2018 +0200

----------------------------------------------------------------------
 airflow/bin/cli.py | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/0c3a1af0/airflow/bin/cli.py
----------------------------------------------------------------------
diff --git a/airflow/bin/cli.py b/airflow/bin/cli.py
index 8d7d419..24f5d31 100755
--- a/airflow/bin/cli.py
+++ b/airflow/bin/cli.py
@@ -1568,23 +1568,24 @@ class CLIFactory(object):
         # create_user
         'role': Arg(
             ('-r', '--role',),
-            help='Role of the user',
+            help='Role of the user. Existing roles include Admin, '
+                 'User, Op, Viewer, and Public',
             type=str),
         'firstname': Arg(
             ('-f', '--firstname',),
-            help='First name of the admin user',
+            help='First name of the user',
             type=str),
         'lastname': Arg(
             ('-l', '--lastname',),
-            help='Last name of the admin user',
+            help='Last name of the user',
             type=str),
         'email': Arg(
             ('-e', '--email',),
-            help='Email of the admin user',
+            help='Email of the user',
             type=str),
         'username': Arg(
             ('-u', '--username',),
-            help='Username of the admin user',
+            help='Username of the user',
             type=str),
     }
     subparsers = (


Mime
View raw message