.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))
|
result.data))
|
||||||
elif result.result == ConfigResults.Removed:
|
elif result.result == ConfigResults.Removed:
|
||||||
event["stdout"].write("Unset setting '%s'%s" %
|
event["stdout"].write("Unset setting '%s'%s" %
|
||||||
(setting, for_str))
|
(setting.lstrip("-"), for_str))
|
||||||
else:
|
else:
|
||||||
event["stdout"].write("Available config: %s" %
|
event["stdout"].write("Available config: %s" %
|
||||||
", ".join(export_settings.keys()))
|
", ".join(export_settings.keys()))
|
||||||
|
|
Loading…
Reference in a new issue