diff --git a/install.sh b/install.sh index 7552004..f275496 100755 --- a/install.sh +++ b/install.sh @@ -41,6 +41,11 @@ if [[ ${#} == 0 ]]; then set -- "--auto" fi +# Only dry-run should also default to --auto +if [[ ${#} == 1 ]] && ([[ $1 = "-n" ]] || [[ $1 = "--dry-run" ]]); then + set -- "-n" "--auto" +fi + # Command line parsing while true; do case "$1" in