diff options
Diffstat (limited to 'commands/status_open.go')
-rw-r--r-- | commands/status_open.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/commands/status_open.go b/commands/status_open.go index 9c6363a0..c8717cd2 100644 --- a/commands/status_open.go +++ b/commands/status_open.go @@ -27,9 +27,10 @@ func runStatusOpen(cmd *cobra.Command, args []string) error { } var openCmd = &cobra.Command{ - Use: "open [<id>]", - Short: "Mark a bug as open", - RunE: runStatusOpen, + Use: "open [<id>]", + Short: "Mark a bug as open", + PreRunE: loadRepo, + RunE: runStatusOpen, } func init() { |