Merge pull request #229113 from aschmolck/fix-nix-info-help
Fix nix-info --help to exit 0
John Ericson 2 years ago 57445260 0c211eb0
··· 51 -d, --debug debug mode 52 53 EOF 54 - exit 1 55 - ;; 56 - 0 0 0 0 0 57 esac 58 done 59
··· 51 -d, --debug debug mode 52 53 EOF 54 + case "${1:-}" in 55 + -h|--help) 56 + exit 0 57 + ;; 58 + *) 59 + exit 1 60 + ;; 61 + esac 62 esac 63 done 64