diff options
Diffstat (limited to 'commands/bridge_configure.go')
-rw-r--r-- | commands/bridge_configure.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/commands/bridge_configure.go b/commands/bridge_configure.go index 4329b54c..ed18cae9 100644 --- a/commands/bridge_configure.go +++ b/commands/bridge_configure.go @@ -88,9 +88,10 @@ func promptName() (string, error) { } var bridgeConfigureCmd = &cobra.Command{ - Use: "configure", - Short: "Configure a new bridge", - RunE: runBridgeConfigure, + Use: "configure", + Short: "Configure a new bridge", + PreRunE: loadRepo, + RunE: runBridgeConfigure, } func init() { |