Fix display of the help message

This commit is contained in:
Benjamin Renard 2017-03-06 17:21:37 +01:00
parent 12f37b952c
commit b606c0ca59

View file

@ -60,19 +60,19 @@ if ($opt_h or not $goodOpt) {
print "backuppcQueueBackup\n\n";
print "Script to queue backup in BackupPC internal queue\n\n";
print "Options:\n";
print " --verbose,-v Increase verbosity\n";
print " --help,-h Display this message\n\n";
print " --hostname,-H Only queue backup for the specified host\n";
print " --exclude,-x Do not queue backup for the specified host\n";
print " --all,-a Queue backup for all BackupPC hosts\n";
print " --start-first,-f Start first queuing backup for this specified host(s)\n";
print " --includeBackupsDisableHosts Queue backup for all BackupPC hosts\n";
print " --type,-t Backup type : full or incr\n";
print " --user,-u BackupPC user that doing this action for BackupPC\n";
print " --stop Stop Backup instead of queuing new one\n";
print " --backoff During stop Backup action, say BackupPC do not automatically\n";
print " Start backup during next x hour(s)\n";
print " --dry-run,-j Perform a trial run (do nothing real)\n";
print " --verbose,-v Increase verbosity\n";
print " --help,-h Display this message\n\n";
print " --hostname,-H Only queue backup for the specified host\n";
print " --exclude,-x Do not queue backup for the specified host\n";
print " --all,-a Queue backup for all BackupPC hosts\n";
print " --start-first,-f Start first queuing backup for this specified host(s)\n";
print " --includeBackupsDisableHosts Queue backup for all BackupPC hosts\n";
print " --type,-t Backup type : full or incr\n";
print " --user,-u BackupPC user that doing this action for BackupPC\n";
print " --stop Stop Backup instead of queuing new one\n";
print " --backoff During stop Backup action, say BackupPC do not automatically\n";
print " Start backup during next x hour(s)\n";
print " --dry-run,-j Perform a trial run (do nothing real)\n";
exit 0 if $goodOpt;
exit 1;
}