File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
## [ Unreleased]
8
8
### Added
9
9
- ` notContain ` rulesets can now support pattern matching. ([ #208 ] via [ @erunion ] )
10
+ ### Fixed
11
+ - Support options after the command name, and at the end of the command ([ #229 ] )
10
12
11
13
[ @erunion ] : https://github.com/erunion
12
14
[ #208 ] : https://github.com/wework/speccy/issues/208
15
+ [ #229 ] : https://github.com/wework/speccy/pull/229
13
16
14
17
## [ 0.8.5] - 2018-11-15
15
18
### Added
Original file line number Diff line number Diff line change @@ -51,4 +51,6 @@ program
51
51
52
52
program . parse ( process . argv ) ;
53
53
54
- if ( ! program . args . length ) program . help ( ) ;
54
+ if ( ! process . argv . slice ( 2 ) . length ) {
55
+ program . help ( ) ;
56
+ }
You can’t perform that action at this time.
0 commit comments