diff --git a/scripts/xe-backup-metadata b/scripts/xe-backup-metadata index 9aac72573e9..43c4617ec3b 100755 --- a/scripts/xe-backup-metadata +++ b/scripts/xe-backup-metadata @@ -39,7 +39,6 @@ function usage { echo " -k: Number of older backups to preserve (default: ${history_kept})" echo " -n: Just try to find a backup VDI and stop the script after that" echo " -f Force backup even when less than 10% free capacity is left on the backup VDI" - echo " -y: Assume non-interactive mode and yes to all questions" echo " -v: Verbose output" echo echo @@ -70,7 +69,6 @@ just_find_vdi=0 fs_uninitialised=0 usage_alert=90 force_backup=0 -yes=0 while getopts "yhvink:u:dcf" opt ; do case $opt in h) usage ;; @@ -81,7 +79,6 @@ while getopts "yhvink:u:dcf" opt ; do d) leave_mounted=1 ;; n) just_find_vdi=1 ;; v) debug="" ;; - y) yes=1 ;; f) force_backup=1 ;; *) echo "Invalid option"; usage ;; esac