diff --git a/bin.js b/bin.js index ff8d3a9..b8ef2d7 100755 --- a/bin.js +++ b/bin.js @@ -613,7 +613,11 @@ async function runTool (args, Tool, version, uiOptions) { if (Tool.name === 'ClinicDoctor' && !args['collect-only'] && !args['visualize-only']) { const iss = tool.issue - const proc = dargs(args['--']) + + const argsArr = args['--'] + argsArr.shift() + const proc = argsArr.join(' ') + if (iss !== 'none' && iss !== undefined) { console.log(`Doctor detected a potential ${iss} issue.`) }