Updating docs for new CLI "skip" option

This commit is contained in:
Tim Kelsey 2016-08-08 16:46:23 +01:00
parent 235308f853
commit 6d831c0923

View file

@ -52,12 +52,11 @@ $ gas -rule=rsa -rule=tls -rule=crypto ./...
#### Excluding files: #### Excluding files:
Gas will ignore paths that match a supplied pattern via 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). [filepath.Match](https://golang.org/pkg/path/filepath/#Match). Multiple patterns can be specified as follows:
Multiple patterns can be specified as follows:
``` ```
$ gas -exclude=tests* -exclude=*_example.go ./... $ gas -skip=tests* -skip=*_example.go ./...
``` ```
#### Annotating code #### Annotating code