Merge pull request #101 from github/fix-80

Suppress display of usage message after errors
This commit is contained in:
Alan Donovan 2021-08-31 16:35:49 -04:00 committed by GitHub
commit 4a45feb7f0

View file

@ -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