Only print the link command when listCmd is active; fix docs (#13603)
This commit is contained in:
parent
6a5b3811e7
commit
eae31a7f8d
3 changed files with 3 additions and 4 deletions
|
|
@ -489,7 +489,7 @@ proc addExternalFileToLink*(conf: ConfigRef; filename: AbsoluteFile) =
|
|||
conf.externalToLink.insert(filename.string, 0)
|
||||
|
||||
proc execWithEcho(conf: ConfigRef; cmd: string, msg = hintExecuting): int =
|
||||
rawMessage(conf, msg, cmd)
|
||||
rawMessage(conf, msg, if msg == hintLinking and not(optListCmd in conf.globalOptions or conf.verbosity > 1): "" else: cmd)
|
||||
result = execCmd(cmd)
|
||||
|
||||
proc execExternalProgram*(conf: ConfigRef; cmd: string, msg = hintExecuting) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue