diff options
author | Jefferson Stachelski <jstachel@thoughtworks.com> | 2015-02-18 12:12:47 -0200 |
---|---|---|
committer | Jefferson Stachelski <jstachel@thoughtworks.com> | 2015-02-18 12:12:54 -0200 |
commit | 45aa91442ad6f78b4cc99da77506058c13f6b98f (patch) | |
tree | 9cbf7371dbd16ca8870401bcb3957ef4105adc7b /service/pixelated/config | |
parent | 2f0480f085f057a39ae58c0e59c1157debc0813e (diff) |
#280 Made the changes on args helper as varac recommended
Diffstat (limited to 'service/pixelated/config')
-rw-r--r-- | service/pixelated/config/args.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/service/pixelated/config/args.py b/service/pixelated/config/args.py index 448cc4df..9b79bd2a 100644 --- a/service/pixelated/config/args.py +++ b/service/pixelated/config/args.py @@ -27,9 +27,9 @@ def parse(): parser.add_argument('--port', type=int, default=3333, help='the port to run the user agent on') parser.add_argument('--home', help='The folder where the user agent stores its data. Defaults to ~/.leap', default=DEFAULT_LEAP_HOME) parser.add_argument('-c', '--config', metavar='<configfile>', default=None, help='use specified file for credentials (for test purposes only)') - parser.add_argument('-sk', '--sslkey', metavar='<server.key>', default=None, help='use specified file as web server\'s SSL key') - parser.add_argument('-sc', '--sslcert', metavar='<server.crt>', default=None, help='use specified file as web server\'s SSL certificate') - parser.add_argument('-lc', '--leap-cert', metavar='<leap.crt>', default=None, help='use specified file for LEAP certificate') + parser.add_argument('-sk', '--sslkey', metavar='<server.key>', default=None, help='use specified file as web server\'s SSL key (when using the user-agent together with the pixelated-dispatcher)') + parser.add_argument('-sc', '--sslcert', metavar='<server.crt>', default=None, help='use specified file as web server\'s SSL certificate (when using the user-agent together with the pixelated-dispatcher)') + parser.add_argument('-lc', '--leap-cert', metavar='<leap.crt>', default=None, help='use specified file for LEAP cert authority certificate (url https://<provider-domain>/ca.crt') parser.add_argument('--register', metavar=('provider', 'username'), nargs=2, help='register a new username on the desired provider') args = parser.parse_args() |