File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import walkFiles from '#src/workflows/walk-files.js'
22
22
23
23
program
24
24
. description ( 'Update internal links in content files' )
25
- . option ( '--silent ' , 'The opposite of verbose ' )
25
+ . option ( '--verbose ' , 'Enable additional logging ' )
26
26
. option ( '--debug' , "Don't hide any errors" )
27
27
. option ( '--dry-run' , "Don't actually write changes to disk" )
28
28
. option ( '--dont-set-autotitle' , "Do NOT transform the link text to 'AUTOTITLE' (if applicable)" )
@@ -77,7 +77,7 @@ async function main(files, opts) {
77
77
throw new Error ( `No files found in ${ files } ` )
78
78
}
79
79
80
- const verbose = ! opts . silent
80
+ const { verbose } = opts
81
81
82
82
if ( verbose ) {
83
83
console . log ( chalk . bold ( `Updating internal links in ${ actualFiles . length } found files...` ) )
You can’t perform that action at this time.
0 commit comments