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:
@@ -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."`
|
||||
}
|
||||
|
||||
|
||||
@@ -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 GitHub’s 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 you’ve been added to."`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user