I'm always confused by this strange difference, so let's rename the
command to match what it tests.
---
lib/client/gnt_debug.py | 2 +-
man/gnt-debug.rst | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/client/gnt_debug.py b/lib/client/gnt_debug.py
index 3a355ed..d96f344 100644
--- a/lib/client/gnt_debug.py
+++ b/lib/client/gnt_debug.py
@@ -553,7 +553,7 @@ commands = {
],
"<op_list_file...>", "Submits jobs built from json files"
" containing a list of serialized opcodes"),
- 'allocator': (
+ 'iallocator': (
TestAllocator, [ArgUnknown(min=1)],
[cli_option("--dir", dest="direction", default=constants.IALLOCATOR_DIR_IN,
choices=list(constants.VALID_IALLOCATOR_DIRECTIONS),
diff --git a/man/gnt-debug.rst b/man/gnt-debug.rst
index 639274a..70ddd19 100644
--- a/man/gnt-debug.rst
+++ b/man/gnt-debug.rst
@@ -19,10 +19,10 @@ The **gnt-debug** is used for debugging the Ganeti system.
COMMANDS
--------
-ALLOCATOR
-~~~~~~~~~
+IALLOCATOR
+~~~~~~~~~~
-**allocator** [--debug] [--dir *DIRECTION*] {--algorithm
+**iallocator** [--debug] [--dir *DIRECTION*] {--algorithm
*ALLOCATOR* } [--mode *MODE*] [--mem *MEMORY*] [--disks *DISKS*]
[--disk-template *TEMPLATE*] [--nics *NICS*] [--os-type *OS*]
[--vcpus *VCPUS*] [--tags *TAGS*] {*instance*}
--
1.7.3.1