diff --git a/updater.sh b/updater.sh index ff31bf0..e185976 100755 --- a/updater.sh +++ b/updater.sh @@ -218,8 +218,15 @@ while :; do --help|-h) shift; SHOW_HELP="true";; --version|-v) shift; SHOW_VERSION="true";; --backup|-b) shift; MAKE_BACKUP="true";; + + # Deprecated options. + -donotupdate) shift; warn "'-donotupdate' is a deprecated option";; + -update) shift; warn "'-update' is a deprecated option";; + + # Special cases. "") break;; # Default case: no more options. *) error "Unrecognized option '$1'";; + esac done