Commit 1e020d1b authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Fix --node option for “gnt-backup list”.

Reviewed-by: iustinp
parent 7803d4d3
......@@ -188,7 +188,7 @@ def TestBackupList(expnode):
"""gnt-backup list"""
master = qa_config.GetMasterNode()
cmd = ['gnt-backup', 'list', '--nodes=%s' % expnode['primary']]
cmd = ['gnt-backup', 'list', '--node=%s' % expnode['primary']]
AssertEqual(StartSSH(master['primary'],
utils.ShellQuoteArgs(cmd)).wait(), 0)
......
......@@ -137,7 +137,7 @@ import_opts = [
commands = {
'list': (PrintExportList, ARGS_NONE,
[DEBUG_OPT,
make_option("--node", dest="node", default=[], action="append",
make_option("--node", dest="nodes", default=[], action="append",
help="List only backups stored on this node"
" (can be used multiple times)"),
],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment