Skip to content

Commit d8f8ff1

Browse files
authored
Merge pull request #2434 from ltalirz/issue_2355_verdi_help_exit_status
let verdi help return exit status 0
2 parents d4ddb6b + 2d3a80a commit d8f8ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aiida/cmdline/verdilib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def run(self, *args):
294294
print ""
295295
print ("Use '{} help <command>' for more information "
296296
"on a specific command.".format(execname))
297-
sys.exit(1)
297+
sys.exit(0)
298298

299299
if command in short_doc:
300300
print "Description for '%s %s'" % (execname, command)

0 commit comments

Comments
 (0)