mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-11 07:18:28 +01:00
cli: use sys.exit
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ class DvcParser(argparse.ArgumentParser):
|
||||
class VersionAction(argparse.Action):
|
||||
def __call__(self, parser, namespace, values, option_string=None):
|
||||
print(VERSION)
|
||||
exit(0)
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
def parse_args(argv=None):
|
||||
|
||||
Reference in New Issue
Block a user