Updated examples

Removed duplicate and unnecessary examples.
This commit is contained in:
Angelos Chalaris
2018-01-04 14:22:56 +02:00
parent 9341f0aaaa
commit 8281457945
45 changed files with 52 additions and 104 deletions

View File

@ -13,7 +13,6 @@ const hasFlags = (...flags) =>
```js
// node myScript.js -s --test --cool=true
hasFlags('-s'); // true
hasFlags('test', 'cool=true'); // true
hasFlags('--test', 'cool=true', '-s'); // true
hasFlags('special'); // false
```