Commit ee9131b9 authored by Addshore's avatar Addshore 🏄
Browse files

Fix one more gitlab.org occourance

parent ca851b74
...@@ -19,6 +19,7 @@ package cmd ...@@ -19,6 +19,7 @@ package cmd
import ( import (
"runtime/debug" "runtime/debug"
"strings"
"github.com/profclems/glab/commands" "github.com/profclems/glab/commands"
"github.com/profclems/glab/commands/cmdutils" "github.com/profclems/glab/commands/cmdutils"
...@@ -46,6 +47,10 @@ func init() { ...@@ -46,6 +47,10 @@ func init() {
if found { if found {
glabCommand.RemoveCommand(command) glabCommand.RemoveCommand(command)
} }
// TODO fix this one upsteam
if command.Name() == "config" {
command.Long = strings.Replace(command.Long, "https://gitlab.com", "https://gitlab.wikimedia.org", -1)
}
} }
rootCmd.AddCommand(glabCommand) rootCmd.AddCommand(glabCommand)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment