some more coloring
This commit is contained in:
parent
325e585db3
commit
0f6ab3d333
1 changed files with 2 additions and 2 deletions
|
|
@ -219,7 +219,7 @@ class LishCommander(Exit, ShellCommander, LogCommander):
|
||||||
if cmd in ["enable", "disable"]:
|
if cmd in ["enable", "disable"]:
|
||||||
job.set_enabled("n" in cmd)
|
job.set_enabled("n" in cmd)
|
||||||
else:
|
else:
|
||||||
print "invalid or missing parameter\n"
|
print RED + "invalid or missing parameter\n" + END
|
||||||
self.help_job()
|
self.help_job()
|
||||||
|
|
||||||
def complete_job(self, text, line, begidx, endidx):
|
def complete_job(self, text, line, begidx, endidx):
|
||||||
|
|
@ -240,7 +240,7 @@ class LishCommander(Exit, ShellCommander, LogCommander):
|
||||||
for job in self.interface.jobs:
|
for job in self.interface.jobs:
|
||||||
print job.pretty_string()
|
print job.pretty_string()
|
||||||
else:
|
else:
|
||||||
print "invalid or missing parameter\n"
|
print RED + "invalid or missing parameter\n" + END
|
||||||
self.help_jobs()
|
self.help_jobs()
|
||||||
|
|
||||||
def help_jobs(self):
|
def help_jobs(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue