summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/service/lmi/scripts/service/cmd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/service/lmi/scripts/service/cmd.py b/commands/service/lmi/scripts/service/cmd.py
index 6de5826..9d25592 100644
--- a/commands/service/lmi/scripts/service/cmd.py
+++ b/commands/service/lmi/scripts/service/cmd.py
@@ -90,9 +90,9 @@ class Restart(command.LmiCheckResult):
def transform_options(self, options):
"""
``try`` is a keyword argument in python, let's rename it to
- ``just_try``.
+ ``just-try`` which will be transformed into ``just_try``.
"""
- options['just_try'] = options.pop('--try')
+ options['just-try'] = options.pop('--try')
class Reload(command.LmiCheckResult):
EXPECT = 0