Merge pull request #101 from github/fix-80
Suppress display of usage message after errors
This commit is contained in:
commit
4a45feb7f0
1 changed files with 2 additions and 1 deletions
|
|
@ -19,7 +19,8 @@ func main() {
|
|||
var version = "DEV"
|
||||
|
||||
var rootCmd = &cobra.Command{
|
||||
Use: "ghcs",
|
||||
Use: "ghcs",
|
||||
SilenceUsage: true, // don't print usage message after each error (see #80)
|
||||
Long: `Unofficial CLI tool to manage GitHub Codespaces.
|
||||
|
||||
Running commands requires the GITHUB_TOKEN environment variable to be set to a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue