Merge pull request #229113 from aschmolck/fix-nix-info-help

Fix nix-info --help to exit 0
This commit is contained in:
John Ericson 2023-05-10 17:33:33 -04:00 committed by GitHub
commit 57445260f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,9 +51,14 @@ Options:
-d, --debug debug mode
EOF
exit 1
;;
case "${1:-}" in
-h|--help)
exit 0
;;
*)
exit 1
;;
esac
esac
done