aboutsummaryrefslogtreecommitdiffstats
path: root/commands/show.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/show.go')
-rw-r--r--commands/show.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/commands/show.go b/commands/show.go
index c061b69b..c41af02d 100644
--- a/commands/show.go
+++ b/commands/show.go
@@ -73,9 +73,10 @@ func runShowBug(cmd *cobra.Command, args []string) error {
}
var showCmd = &cobra.Command{
- Use: "show [<id>]",
- Short: "Display the details of a bug",
- RunE: runShowBug,
+ Use: "show [<id>]",
+ Short: "Display the details of a bug",
+ PreRunE: loadRepo,
+ RunE: runShowBug,
}
func init() {