diff --git a/nixos/modules/installer/tools/nixos-version.sh b/nixos/modules/installer/tools/nixos-version.sh index e4e4f5c446c8..77a1b458a342 100644 --- a/nixos/modules/installer/tools/nixos-version.sh +++ b/nixos/modules/installer/tools/nixos-version.sh @@ -1,9 +1,10 @@ #! @shell@ case "$1" in - --help) + -h|--help) exec man nixos-version exit 1 + ;; --hash|--revision) echo "@nixosRevision@" ;;