dont show command if quiet: true
dont print the command if quiet option is set to true and description is None
This commit is contained in:
parent
d2f76a2593
commit
15af48fcf8
|
@ -42,10 +42,11 @@ class Shell(dotbot.Plugin):
|
|||
else:
|
||||
cmd = item
|
||||
msg = None
|
||||
if msg is None:
|
||||
self._log.lowinfo(cmd)
|
||||
elif quiet:
|
||||
if quiet:
|
||||
if msg is not None:
|
||||
self._log.lowinfo("%s" % msg)
|
||||
elif msg is None:
|
||||
self._log.lowinfo(cmd)
|
||||
else:
|
||||
self._log.lowinfo("%s [%s]" % (msg, cmd))
|
||||
stdout = options.get("stdout", stdout)
|
||||
|
|
Loading…
Reference in New Issue