nixos-checkout: let it run without args again.

This commit is contained in:
Evgeny Egorochkin 2013-08-06 19:04:21 +03:00
parent 0bcabfa886
commit 35ac2ad9ca

View file

@ -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