|
@ -63,7 +63,8 @@ def commands(word, word_eol, users): |
|
|
arguments = word[1:] |
|
|
arguments = word[1:] |
|
|
if arguments[0] == "set": |
|
|
if arguments[0] == "set": |
|
|
try: |
|
|
try: |
|
|
print edit_users(**vars(editor.parse_args(arguments[1:]))) #argparse raises a SystemExit error if you use --help or -h, or have the wrong arguments |
|
|
print edit_users(**vars(editor.parse_args(arguments[1:]))) |
|
|
|
|
|
# argparse raises a SystemExit error if you use --help or -h, or have the wrong arguments |
|
|
except SystemExit: |
|
|
except SystemExit: |
|
|
pass |
|
|
pass |
|
|
elif arguments[0] == "langlist": |
|
|
elif arguments[0] == "langlist": |
|
|