1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Fix a couple of 'go vet' issues

This commit is contained in:
Chris Cummer
2019-08-03 17:16:50 -07:00
parent 33ec8528a1
commit c17678013d
4 changed files with 5 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ const defaultTitle = "CmdRunner"
type Settings struct {
common *cfg.Common
args []string `help:"The arguments to the command, with each item as an element in an array. Example: for curl -I cisco.com, the arguments array would be ["-I", "cisco.com"]."`
args []string `help:"The arguments to the command, with each item as an element in an array. Example: for curl -I cisco.com, the arguments array would be ['-I', 'cisco.com']."`
cmd string `help:"The terminal command to be run, withouth the arguments. Ie: ping, whoami, curl."`
}

View File

@@ -19,7 +19,7 @@ type Settings struct {
customQueries []customQuery `help:"Custom queries allow you to filter pull requests and issues however you like. Give the query a title and a filter. Filters can be copied directly from GitHubs UI." optional:"true"`
enableStatus bool `help:"Display pull request mergeability status (dirty, clean, unstable, blocked)." optional:"true"`
repositories []string `help:"A list of github repositories." values:"Example: wtfutil/wtf"`
uploadURL string `help:"Your GitHub Enterprise upload URL (often the same as API URL). optional:"true"`
uploadURL string `help:"Your GitHub Enterprise upload URL (often the same as API URL)." optional:"true"`
username string `help:"Your GitHub username. Used to figure out which review requests youve been added to."`
}