backups: improve help message
This commit is contained in:
parent
f2f9f568cd
commit
ca31b57ee3
@ -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",
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user