Skip to content

Commit 4e57bc5

Browse files
author
Clement Champetier
committed
sam do: display params in bold if it is enabled and not secret
And if the feature is available with clint (version >= 0.3.3).
1 parent 04f136d commit 4e57bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

applications/sam/sam_do.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def _displayParamHelp(self, param):
192192
Display help of the given OFXParameter.
193193
"""
194194
paramName = colored.green(param.getScriptName())
195-
if not param.getSecret() and clintVersion >= '0.3.3':
195+
if param.getEnabled() and not param.getSecret() and clintVersion >= '0.3.3':
196196
paramName.bold = True
197197
paramType = param.getParamTypeName()
198198
paramHint = param.getHint()

0 commit comments

Comments
 (0)