We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bcf3dd commit 2c09509Copy full SHA for 2c09509
utils/args.py
@@ -5,6 +5,9 @@
5
6
def parse_args(parser: ArgumentParser):
7
args = sys.argv[1:]
8
+ if args.count('--config') <= 0:
9
+ return parser.parse_args()
10
+
11
conf = args.index('--config')
12
if conf >= 0 and conf + 1 < len(args):
13
config_file = args[conf + 1]
0 commit comments