@@ -8,28 +8,28 @@ def setup_parser(parser, completions=False):
88 "-d" , "--depth" , type = int ,
99 help = "dependency tree depth limit" )
1010 parser .add_argument (
11- "--paths" , type = str , default = None ,
11+ "--paths" , type = str ,
1212 help = "set package search path" )
1313 parser .add_argument (
14- "-b" , "--build-requires" , action = "store_true" , default = False ,
15- help = "Include build_requires " )
14+ "-b" , "--build-requires" , action = "store_true" ,
15+ help = "Include build requirements " )
1616 parser .add_argument (
17- "-p" , "--private-build-requires" , action = "store_true" , default = False ,
18- help = "Include private_build_requires " )
17+ "-p" , "--private-build-requires" , action = "store_true" ,
18+ help = "Include private build requirements " )
1919 parser .add_argument (
2020 "-g" , "--graph" , action = "store_true" ,
2121 help = "display the dependency tree as an image" )
2222 parser .add_argument (
2323 "--pg" , "--print-graph" , dest = "print_graph" , action = "store_true" ,
2424 help = "print the dependency tree as a string" )
2525 parser .add_argument (
26- "--wg" , "--write-graph" , dest = "write_graph" , type = str , metavar = 'FILE' ,
26+ "--wg" , "--write-graph" , dest = "write_graph" , metavar = 'FILE' ,
2727 help = "write the dependency tree to FILE" )
2828 parser .add_argument (
2929 "-q" , "--quiet" , action = "store_true" ,
3030 help = "don't print progress bar or depth indicators" )
3131 PKG_action = parser .add_argument (
32- "PKG" , type = str ,
32+ "PKG" ,
3333 help = "package that other packages depend on" )
3434
3535 if completions :
0 commit comments