fix bug that prevents printing help
This commit is contained in:
1 parent
cd4d8c3f2e
commit
85dc699afd
1 file changed
+1
-1
+1
-1
@@ -183,7 +183,7 @@ def main():
|
|||||||
|
|
||||||
if not os.path.exists(args.conf):
|
if not os.path.exists(args.conf):
|
||||||
print("snapraid-runner configuration file not found")
|
print("snapraid-runner configuration file not found")
|
||||||
args.print_help()
|
parser.print_help()
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in new issue
Block a user