Skip to content

Commit

Permalink
BREAKING CHANGE: removed all controllable short options for CLI #15
Browse files Browse the repository at this point in the history
  • Loading branch information
neocotic committed Nov 3, 2017
1 parent 162b9c8 commit 81eed21
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions packages/convert-svg-core/src/CLI.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ class CLI {
description: 'disables color output'
},
{
flags: '-b, --base-url <url>',
flags: '--base-url <url>',
description: 'specify base URL to use for all relative URLs in SVG'
},
{
flags: '-f, --filename <filename>',
flags: '--filename <filename>',
description: `specify filename for the ${format} output when processing STDIN`
},
{
Expand Down
18 changes: 9 additions & 9 deletions packages/convert-svg-to-jpeg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ $ npm install --global convert-svg-to-jpeg

Options:

-V, --version output the version number
--no-color disables color output
-b, --base-url <url> specify base URL to use for all relative URLs in SVG
-f, --filename <filename> specify filename for the JPEG output when processing STDIN
--height <value> specify height for JPEG
--scale <value> specify scale to apply to dimensions [1]
--width <value> specify width for JPEG
--quality <value> specify quality for JPEG [100]
-h, --help output usage information
-V, --version output the version number
--no-color disables color output
--base-url <url> specify base URL to use for all relative URLs in SVG
--filename <filename> specify filename for the JPEG output when processing STDIN
--height <value> specify height for JPEG
--scale <value> specify scale to apply to dimensions [1]
--width <value> specify width for JPEG
--quality <value> specify quality for JPEG [100]
-h, --help output usage information

The CLI can be used in the following ways:

Expand Down
16 changes: 8 additions & 8 deletions packages/convert-svg-to-png/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ $ npm install --global convert-svg-to-png

Options:

-V, --version output the version number
--no-color disables color output
-b, --base-url <url> specify base URL to use for all relative URLs in SVG
-f, --filename <filename> specify filename for the PNG output when processing STDIN
--height <value> specify height for PNG
--scale <value> specify scale to apply to dimensions [1]
--width <value> specify width for PNG
-h, --help output usage information
-V, --version output the version number
--no-color disables color output
--base-url <url> specify base URL to use for all relative URLs in SVG
--filename <filename> specify filename for the PNG output when processing STDIN
--height <value> specify height for PNG
--scale <value> specify scale to apply to dimensions [1]
--width <value> specify width for PNG
-h, --help output usage information

The CLI can be used in the following ways:

Expand Down

0 comments on commit 81eed21

Please # to comment.