nixos-version: fix syntax error and add -h (#16906)
* nixos-version: fix syntax error * nixos-version: add -h parameter
davidak 9 years ago d97a1074 60e5b599
··· 1 1 #! @shell@ 2 2 3 3 case "$1" in 4 4 - --help) 4 4 + -h|--help) 5 5 exec man nixos-version 6 6 exit 1 7 7 + ;; 7 8 --hash|--revision) 8 9 echo "@nixosRevision@" 9 10 ;;