nixos-checkout: let it run without args again.
This commit is contained in:
parent
0bcabfa886
commit
35ac2ad9ca
modules/installer/tools
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue