fix bug in main
This commit is contained in:
parent
ae57b22938
commit
29be9a49e8
|
@ -21,8 +21,8 @@ cmd_status = cmd.add_parser("status")
|
|||
cmd_init = cmd.add_parser("init")
|
||||
cmd_init.add_argument("-n", "--name", type=str, help="Name of the server node", required=True)
|
||||
cmd_init.add_argument("-i", "--ip", type=str, help="Public IP of the server node", required=True)
|
||||
cmd_add.add_argument("-k", "--ssh-key", type=argparse.FileType("r"),
|
||||
help="SSH private keyfile for the server", required=True)
|
||||
cmd_init.add_argument("-k", "--ssh-key", type=argparse.FileType("r"),
|
||||
help="SSH private keyfile for the server", required=True)
|
||||
|
||||
cmd_add = cmd.add_parser("add")
|
||||
cmd_add.add_argument("-n", "--name", type=str, help="Name of the node to add", required=True)
|
||||
|
|
Loading…
Reference in New Issue