Merge pull request #229113 from aschmolck/fix-nix-info-help
Fix nix-info --help to exit 0
This commit is contained in:
commit
57445260f0
@ -51,9 +51,14 @@ Options:
|
||||
-d, --debug debug mode
|
||||
|
||||
EOF
|
||||
exit 1
|
||||
;;
|
||||
|
||||
case "${1:-}" in
|
||||
-h|--help)
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user