File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ def main():
43
43
parser = argparse .ArgumentParser (
44
44
description = "Code Base Investigator v" + str (version ),
45
45
)
46
- parser .add_argument (
46
+ deprecated_args = parser .add_argument_group ("deprecated options" )
47
+ deprecated_args .add_argument (
47
48
"-r" ,
48
49
"--rootdir" ,
49
50
dest = "rootdir" ,
@@ -60,7 +61,7 @@ def main():
60
61
help = "Set path to source directory. "
61
62
+ "The default is the current directory." ,
62
63
)
63
- parser .add_argument (
64
+ deprecated_args .add_argument (
64
65
"-c" ,
65
66
"--config" ,
66
67
dest = "config_file" ,
@@ -94,15 +95,15 @@ def main():
94
95
nargs = "+" ,
95
96
help = "desired output reports (default: all)" ,
96
97
)
97
- parser .add_argument (
98
+ deprecated_args .add_argument (
98
99
"-d" ,
99
100
"--dump" ,
100
101
dest = "dump" ,
101
102
metavar = "<file.json>" ,
102
103
action = "store" ,
103
104
help = "dump out annotated platform/parsing tree to <file.json>" ,
104
105
)
105
- parser .add_argument (
106
+ deprecated_args .add_argument (
106
107
"--batchmode" ,
107
108
dest = "batchmode" ,
108
109
action = "store_true" ,
You can’t perform that action at this time.
0 commit comments