backups: improve help message

This commit is contained in:
Marek Marczykowski-Górecki 2014-02-05 02:49:26 +01:00
parent f2f9f568cd
commit ca31b57ee3
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ def print_progress(progress):
print >> sys.stderr, "\r-> Backing up files: {0}%...".format (progress),
def main():
usage = "usage: %prog [options] <backup-dir-path> [vmname ...]"
usage = "usage: %prog [options] <backup-dir-path> [vms-to-be-included ...]"
parser = OptionParser (usage)
parser.add_option ("-x", "--exclude", action="append",

View File

@ -33,7 +33,7 @@ import sys
import getpass
def main():
usage = "usage: %prog [options] <backup-dir> [vmname ...]"
usage = "usage: %prog [options] <backup-dir> [vms-to-be-restored ...]"
parser = OptionParser (usage)
parser.add_option ("--skip-broken", action="store_true", dest="skip_broken", default=False,