diff options
Diffstat (limited to 'commands/status.go')
-rw-r--r-- | commands/status.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/commands/status.go b/commands/status.go index a34b0918..6aed000a 100644 --- a/commands/status.go +++ b/commands/status.go @@ -28,9 +28,10 @@ func runStatus(cmd *cobra.Command, args []string) error { } var statusCmd = &cobra.Command{ - Use: "status [<id>]", - Short: "Display or change a bug status", - RunE: runStatus, + Use: "status [<id>]", + Short: "Display or change a bug status", + PreRunE: loadRepo, + RunE: runStatus, } func init() { |