Skip to content

Commit

Permalink
fix: exit with code 1 on unimplemented CLI commands
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Sep 28, 2020
1 parent 763fdc5 commit 66943d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/identities/patch.go
Expand Up @@ -2,6 +2,7 @@ package identities

import (
"fmt"
"os"

"github.com/spf13/cobra"
)
Expand All @@ -13,5 +14,6 @@ var patchCmd = &cobra.Command{
Run: func(cmd *cobra.Command, args []string) {
// TODO
fmt.Println("not yet implemented")
os.Exit(1)
},
}

0 comments on commit 66943d7

Please sign in to comment.