Fix code documentation example
Change-Id: I97486624d6f0f349997d00fa34d726c881915097
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/gen_cmd.py b/lib/gen_cmd.py
index ab672a7..a654828 100644
--- a/lib/gen_cmd.py
+++ b/lib/gen_cmd.py
@@ -628,10 +628,10 @@
my_pgm -i -m 1 --password="${my_pw}" /tmp/myfile
command_string = create_command_string('ipmitool', 'power status',
- I='lanplus', C='3', U='root', P='0penBmc', H='wsbmc010')
+ I='lanplus', C='3', U='root', P='0penBmc', H='xx.xx.xx.xx')
Result:
- ipmitool -I lanplus -C 3 -U root -P 0penBmc -H wsbmc010 power status
+ ipmitool -I lanplus -C 3 -U root -P 0penBmc -H xx.xx.xx.xx power status
By default create_command_string will take measures to preserve the order of the callers options. In
some cases, this effort may fail (as when calling directly from a robot program). In this case, the