Skip to content

Commit

Permalink
Remove 'recursvie' option as not implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
GreLI committed Oct 30, 2017
1 parent 999cfbd commit 1aa9e9a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/svgo/coa.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,6 @@ module.exports = require('coa').Cmd()
return !isNaN(val) ? val : this.reject("Option '--indent' must be an integer number");
})
.end()
.opt()
.name('recursive').title('Use with \'-f\'. Optimizes *.svg files in folders recursively.')
.short('r').long('recursive')
.flag()
.end()
.opt()
.name('quiet').title('Only output error messages, not regular status messages')
.short('q').long('quiet')
Expand Down Expand Up @@ -203,11 +198,6 @@ module.exports = require('coa').Cmd()
config.quiet = opts.quiet;
}

// --recursive
if (opts.recursive) {
config.recursive = opts.recursive;
}

// --precision
if (opts.precision) {
var precision = Math.min(Math.max(0, parseInt(opts.precision)), 20);
Expand Down

0 comments on commit 1aa9e9a

Please sign in to comment.