diff --git a/man/gnt-backup.sgml b/man/gnt-backup.sgml index bfae02c849addd9a5237ec1a23bee8d1767e7b3b..25f367388f5d95208f69b5e8f38d9b7a3ab72137 100644 --- a/man/gnt-backup.sgml +++ b/man/gnt-backup.sgml @@ -220,15 +220,14 @@ <cmdsynopsis> <command>list</command> - <arg>--nodes=<replaceable>NODE-LIST</replaceable></arg> + <arg>--node=<replaceable>NODE</replaceable></arg> </cmdsynopsis> <para> Lists the exports currently available in the default directory in all the nodes of the current cluster, or optionally only a - subset of them specified by the <option>--nodes</option> - option (use this option multiple times to select multiple - nodes). + subset of them specified using the <option>--node</option> + option (which can be used multiple times) </para> <para> diff --git a/scripts/gnt-backup b/scripts/gnt-backup index 6f4555cf51c3adc708d19440320a807fcea068c9..3e77d7cd373df697cacd090439b573fda37c2d5c 100755 --- a/scripts/gnt-backup +++ b/scripts/gnt-backup @@ -137,8 +137,9 @@ import_opts = [ commands = { 'list': (PrintExportList, ARGS_NONE, [DEBUG_OPT, - make_option("--nodes", dest="nodes", default=[], action="append", - help="List only backups stored on these nodes"), + make_option("--node", dest="node", default=[], action="append", + help="List only backups stored on this node" + " (can be used multiple times)"), ], "", "Lists instance exports available in the ganeti cluster"), 'export': (ExportInstance, ARGS_ONE,