Skip to content

Commit

Permalink
Updating docs for new CLI "skip" option
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Kelsey committed Aug 10, 2016
1 parent 235308f commit 6d831c0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,11 @@ $ gas -rule=rsa -rule=tls -rule=crypto ./...

#### Excluding files:

Gas will ignore paths that match a supplied pattern via
[filepath.Match](https://golang.org/pkg/path/filepath/#Match).
Multiple patterns can be specified as follows:
Gas can be told to \ignore paths that match a supplied pattern using the 'skip' command line option. This accomplished via
[filepath.Match](https://golang.org/pkg/path/filepath/#Match). Multiple patterns can be specified as follows:

```
$ gas -exclude=tests* -exclude=*_example.go ./...
$ gas -skip=tests* -skip=*_example.go ./...
```

#### Annotating code
Expand Down

0 comments on commit 6d831c0

Please sign in to comment.