Skip to content

Commit bba0550

Browse files
committed
[ntservice] fix readme
1 parent 9bd9af1 commit bba0550

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

check-ntservice/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ command = ["check-ntservice", "--service-name", "SERVICE_NAME"]
4242
### Options
4343

4444
```
45-
-s, --service-name= service name
46-
-E, --exclude-service= service name to exclude from matching. This option takes precedence over --service-name
45+
-s, --service-name= matches if contained in service name
46+
-E, --exclude-service= exclude if contained in service name. This option takes precedence over --service-name
4747
-l, --list-service list service
48+
--exact more exact checking of the service. This option applies only to --service-name.
4849
```
4950

5051

check-ntservice/lib/check_ntservice.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
)
1111

1212
var opts struct {
13-
ServiceName string `long:"service-name" short:"s" description:"matches if contained in a service name"`
14-
ExcludeService string `long:"exclude-service" short:"x" description:"exclude if contained in service name. This option takes precedence over --service-name"`
13+
ServiceName string `long:"service-name" short:"s" description:"matches if contained in service name."`
14+
ExcludeService string `long:"exclude-service" short:"x" description:"exclude if contained in service name. This option takes precedence over --service-name."`
1515
ListService bool `long:"list-service" short:"l" description:"list service"`
1616
Exact bool `long:"exact" description:"more exact checking of the service. This option applies only to --service-name."`
1717
}

0 commit comments

Comments
 (0)