diff options
Diffstat (limited to 'plpbackup')
| -rw-r--r-- | plpbackup/plpbackup.cc | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/plpbackup/plpbackup.cc b/plpbackup/plpbackup.cc index 1dde5e6..2e54021 100644 --- a/plpbackup/plpbackup.cc +++ b/plpbackup/plpbackup.cc @@ -1555,6 +1555,10 @@ main(int argc, char **argv)  	cerr << _("Backup can only create one archive at a time.") << endl;  	usage(&cerr);      } +    if (!(doBackup || doRestore || doFormat)) { +	cerr << _("No action specified.") << endl; +	usage(&cerr); +    }      signal(SIGTERM, sig_handler);      signal(SIGINT, sig_handler); | 
