Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

patched cli

  • Loading branch information...
commit f20534ff98913f1f7f70668d14906a668a02c80c 1 parent 5edf98c
@niftylettuce niftylettuce authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 Readme.md
  2. +2 −2 bin/pantone
View
4 Readme.md
@@ -20,13 +20,13 @@ Let's try to find the nearest PMS color to [Teelaunch's][2] blue in hex:
![Teelaunch Logo](https://d33304ifi1rp4s.cloudfront.net/img/teelaunch-logo.png "Teelaunch Logo")
```bash
-pantone -hex 2A70AE
+pantone --hex 2A70AE
```
Or we could use the rgb values:
```bash
-pantone -rgb 42,112,174
+pantone --rgb 42,112,174
```
Output in table format on command line:
View
4 bin/pantone
@@ -12,8 +12,8 @@ function range(val) {
program
.version(version)
- .option('-rgb, --rgb <r>,<g>,<b>', 'lookup using rgb values', range)
- .option('-hex, --hex <000000>', 'lookup using hex value')
+ .option('--rgb <r>,<g>,<b>', 'lookup using rgb values', range)
+ .option('--hex <000000>', 'lookup using hex value')
.parse(process.argv)
program.hex = program.hex || ''
Please sign in to comment.
Something went wrong with that request. Please try again.