diff --git a/modules/installer/tools/nixos-checkout.nix b/modules/installer/tools/nixos-checkout.nix index 4859a454448..1a734ca5eeb 100644 --- a/modules/installer/tools/nixos-checkout.nix +++ b/modules/installer/tools/nixos-checkout.nix @@ -16,8 +16,8 @@ let '' #! ${pkgs.stdenv.shell} -e - if [ -z "$1" ] || [ "$1" == "-h" ] || [ "$1" == "--help" ]; then - echo "Usage: `basename $0` PREFIX. See NixOS Manual for more info." + if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then + echo "Usage: `basename $0` [PREFIX]. See NixOS Manual for more info." exit 0 fi