aboutsummaryrefslogtreecommitdiffstats
path: root/commands/pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/pull.go')
-rw-r--r--commands/pull.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/commands/pull.go b/commands/pull.go
index 73a27d3d..27c0953b 100644
--- a/commands/pull.go
+++ b/commands/pull.go
@@ -51,9 +51,10 @@ func runPull(cmd *cobra.Command, args []string) error {
// showCmd defines the "push" subcommand.
var pullCmd = &cobra.Command{
- Use: "pull [<remote>]",
- Short: "Pull bugs update from a git remote",
- RunE: runPull,
+ Use: "pull [<remote>]",
+ Short: "Pull bugs update from a git remote",
+ PreRunE: loadRepo,
+ RunE: runPull,
}
func init() {