Skip to content

Commit e358ad8

Browse files
committed
Condensed printHelpCmdAndDocURL()
1 parent 8d900b2 commit e358ad8

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

generate-ip/src/cli.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ const pkgName = 'generate-ip',
196196
}
197197

198198
function printHelpCmdAndDocURL() {
199-
console.info(`\n${ msgs.info_moreHelp || 'For more help' },`
200-
+ ` ${ msgs.info_type || 'type' } 'generate-ip --help'`
201-
+ ` ${ msgs.info_or || 'or' } ${ msgs.info_visit || 'visit' }\n${ bw + docURL + nc }`
199+
console.info(`\n${ msgs.info_moreHelp || 'For more help' }, ${
200+
msgs.info_type || 'type' } generate-ip --help' ${ msgs.info_or || 'or' } ${
201+
msgs.info_visit || 'visit' }\n${ bw + docURL + nc }`
202202
)
203203
}
204204

generate-pw/src/cli.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,9 @@ const pkgName = 'generate-pw',
220220
}
221221

222222
function printHelpCmdAndDocURL() {
223-
console.info(`\n${ msgs.info_moreHelp || 'For more help' },`
224-
+ ` ${ msgs.info_type || 'type' } 'generate-pw --help'`
225-
+ ` ${ msgs.info_or || 'or' } ${ msgs.info_visit || 'visit' }\n${ bw + docURL + nc }`
223+
console.info(`\n${ msgs.info_moreHelp || 'For more help' }, ${
224+
msgs.info_type || 'type' } generate-pw --help' ${ msgs.info_or || 'or' } ${
225+
msgs.info_visit || 'visit' }\n${ bw + docURL + nc }`
226226
)
227227
}
228228

minify.js/node.js/src/cli.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,9 @@ const pkgName = '@adamlui/minify.js',
296296
}
297297

298298
function printHelpCmdAndDocURL() {
299-
console.info(`\n${ msgs.info_moreHelp || 'For more help' },`
300-
+ ` ${ msgs.info_type || 'type' } 'minify-js --help'`
301-
+ ` ${ msgs.info_or || 'or' } ${ msgs.info_visit || 'visit' }\n${ bw + docURL + nc }`
299+
console.info(`\n${ msgs.info_moreHelp || 'For more help' }, ${
300+
msgs.info_type || 'type' } minify-js --help' ${ msgs.info_or || 'or' } ${
301+
msgs.info_visit || 'visit' }\n${ bw + docURL + nc }`
302302
)
303303
}
304304

0 commit comments

Comments
 (0)