influxdata / influxdata/kapacitor

cmd Kapacitor help message for service-tests returns help information for vars

Open
#1,759 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

$ kapacitor help service-tests
Usage: kapacitor vars

Print debug vars in JSON format.

$ kapacitor help vars
Usage: kapacitor vars

Print debug vars in JSON format.

See also line 311-314 in cmd/kapacitor/main.go (I'm looking at commit fcce3ee9e6abcee5595fd61066bfc904edb1e113 in master)

```golang
...
case "vars":
varsUsage()
case "service-tests":
varsUsage()
...
```

Contributor guide

Open the contributing guide

Research direction

Start at cmd/kapacitor/main.go lines 311-314 and inspect the help handlers for vars and service-tests. Make the service-tests help output describe service-tests rather than vars, then run both help commands and verify that vars still reports its own usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.