diff options
Diffstat (limited to 'commands/bridge.go')
-rw-r--r-- | commands/bridge.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/commands/bridge.go b/commands/bridge.go index 5dc4e744..4576cd0a 100644 --- a/commands/bridge.go +++ b/commands/bridge.go @@ -28,10 +28,11 @@ func runBridge(cmd *cobra.Command, args []string) error { } var bridgeCmd = &cobra.Command{ - Use: "bridge", - Short: "Configure and use bridges to other bug trackers", - RunE: runBridge, - Args: cobra.NoArgs, + Use: "bridge", + Short: "Configure and use bridges to other bug trackers", + PreRunE: loadRepo, + RunE: runBridge, + Args: cobra.NoArgs, } func init() { |