Skip to content

Commit 2333ea8

Browse files
author
root
committed
#65 compatible with python3
1 parent d003d98 commit 2333ea8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

basescript/basescript.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def __init__(self, args=None):
1818

1919
self.subcommands = self.parser.add_subparsers(title='commands')
2020
self.subcommands.dest = 'commands'
21+
self.subcommands.required = True
2122
self.define_subcommands(self.subcommands)
2223
self.subcommand_run = self.subcommands.add_parser('run')
2324
self.subcommand_run.set_defaults(func=self.run)

0 commit comments

Comments
 (0)