.lstrip("-") from unset setting name
This commit is contained in:
parent
8d3a35e740
commit
9297ffbadc
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ class Module(ModuleManager.BaseModule):
|
|||
result.data))
|
||||
elif result.result == ConfigResults.Removed:
|
||||
event["stdout"].write("Unset setting '%s'%s" %
|
||||
(setting, for_str))
|
||||
(setting.lstrip("-"), for_str))
|
||||
else:
|
||||
event["stdout"].write("Available config: %s" %
|
||||
", ".join(export_settings.keys()))
|
||||
|
|
Loading…
Reference in a new issue