Skip to content
Snippets Groups Projects
Commit 4bee8794 authored by Seblu's avatar Seblu
Browse files

strict arg check in whoami command

parent 15a0de57
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,8 @@ class Command_whoami(Command):
'''Show connection login'''
def __call__(self, argv):
if len(argv) != 1:
raise cmdBadArgument()
self.printer.out(self.cli.settings["login"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment