suppress display of usage message after errors

This commit is contained in:
Alan Donovan 2021-08-30 18:09:52 -04:00
parent 5238f249f3
commit 6a527941bf

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