Skip to content

Commit

Permalink
fix: resolve conflict with -s short flag (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Jun 7, 2019
1 parent 2f4e462 commit 1784b38
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) Steven Vachon <contact@svachon.com> (svachon.com)
Copyright (c) Justin Beckwith <justin.beckwith@gmail.com> (jbeckwith.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ $ linkinator LOCATION [ --arguments ]
--format, -f
Return the data in CSV or JSON format.

--silent
Only output broken links.

--help
Show this command.
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"mocha": "^6.1.4",
"nock": "^10.0.6",
"nyc": "^14.0.0",
"semantic-release": "^15.13.13",
"semantic-release": "^15.13.15",
"sinon": "^7.2.3",
"source-map-support": "^0.5.10",
"typescript": "^3.3.3"
Expand Down
4 changes: 2 additions & 2 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const cli = meow(
--format, -f
Return the data in CSV or JSON format.
--silent, -s
--silent
Only output broken links
--help
Expand All @@ -48,7 +48,7 @@ const cli = meow(
recurse: { type: 'boolean', alias: 'r' },
skip: { type: 'string', alias: 's' },
format: { type: 'string', alias: 'f' },
silent: { type: 'boolean', alias: 's' },
silent: { type: 'boolean' },
},
}
);
Expand Down

0 comments on commit 1784b38

Please sign in to comment.