added yaml support
This commit is contained in:
parent
cb676249ac
commit
16a5a09bf5
4 changed files with 28 additions and 19 deletions
|
|
@ -200,10 +200,7 @@ class LishCommander(Exit, ShellCommander, LogCommander):
|
|||
|
||||
cmd = text[1]
|
||||
if cmd in ["enable", "disable"]:
|
||||
if "n" in cmd:
|
||||
job.enable()
|
||||
else:
|
||||
job.disable()
|
||||
job.set_enabled("n" in cmd)
|
||||
else:
|
||||
print "invalid or missing parameter\n"
|
||||
self.help_job()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue