summaryrefslogtreecommitdiffstatshomepage
path: root/commands/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/status.go')
-rw-r--r--commands/status.go7
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() {