Commit f05a6c4c authored by leonard's avatar leonard

Merge branch 'challenge-importer'

parents f4d740d4 d07de776
......@@ -74,7 +74,7 @@ class Importer():
self.session = requests.Session()
if not self.args.passw:
self.parser.error('No password provided, use -pass')
self.parser.error('No password provided, use --pass')
if self.check_setup():
if not self.args.setup:
......@@ -150,7 +150,7 @@ class Importer():
parser.add_argument('--email', help='Admin email address to use for CTFd setup')
parser.add_argument('--lang', help='Junior CTF language (currently supported: fr, en)', default='fr')
parser.add_argument('--list', action='store_true', help='List available challenges')
parser.add_argument('challenge', nargs='*', help='Challenges to import (all if nothing specified)')
parser.add_argument('challenge', nargs='*', help='Challenges to import. All challenges are imported if nothing specified')
return parser
def _login(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment