From 6d831c0923b6995c4372b81a5a1f393f675f2a4a Mon Sep 17 00:00:00 2001 From: Tim Kelsey Date: Mon, 8 Aug 2016 16:46:23 +0100 Subject: [PATCH] Updating docs for new CLI "skip" option --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fb51e62..58ec8bf 100644 --- a/README.md +++ b/README.md @@ -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