File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,4 @@ Some times there is a need to install package directly to the base installation
1919
2020``` commandline
2121pip3 install any-template --allow-no-venv
22-
23- # OR
24-
25- pip3 install any-template -anv
2622```
Original file line number Diff line number Diff line change @@ -19,13 +19,12 @@ def venv_is_active() -> bool:
1919def main () -> int :
2020
2121 parser = argparse .ArgumentParser (add_help = False )
22- parser .add_argument ("-anv" , "- -allow-no-venv" ,
22+ parser .add_argument ("--allow-no-venv" ,
2323 action = "store_true" ,
2424 help = "Install packages without checking whether a venv is activated." )
2525 parser .add_argument ("--help" , action = "store_true" , help = "Show help" )
2626
2727 args , rest = parser .parse_known_args ()
28- print (rest )
2928
3029 if args .help :
3130 parser .print_help ()
You can’t perform that action at this time.
0 commit comments