diff options
author | Michael Muré <batolettre@gmail.com> | 2023-01-11 13:36:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 13:36:10 +0100 |
commit | 76100380978418dbfa6fa880f05d335c9a4aafcd (patch) | |
tree | c843bf0f26bc9b3d8483895ee0d6d0fc7f568470 /commands | |
parent | 5d7a10fbb246d2bbcefe0eabc4403afe22e26124 (diff) | |
parent | 637071a84b6dd25df42b8fa79f31bc73d338c55a (diff) | |
download | git-bug-76100380978418dbfa6fa880f05d335c9a4aafcd.tar.gz |
Merge pull request #988 from MichaelMure/fix-cache-test
cache: fix tests?
Diffstat (limited to 'commands')
-rw-r--r-- | commands/bridge/bridge_new.go | 2 | ||||
-rw-r--r-- | commands/select/select.go | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/commands/bridge/bridge_new.go b/commands/bridge/bridge_new.go index 4cfc903d..2c51d9ef 100644 --- a/commands/bridge/bridge_new.go +++ b/commands/bridge/bridge_new.go @@ -33,7 +33,7 @@ func newBridgeNewCommand() *cobra.Command { cmd := &cobra.Command{ Use: "new", Short: "Configure a new bridge", - Long: ` Configure a new bridge by passing flags or/and using interactive terminal prompts. You can avoid all the terminal prompts by passing all the necessary flags to configure your bridge.`, + Long: "Configure a new bridge by passing flags or/and using interactive terminal prompts. You can avoid all the terminal prompts by passing all the necessary flags to configure your bridge.", Example: `# Interactive example [1]: github [2]: gitlab diff --git a/commands/select/select.go b/commands/select/select.go index b821ba59..694d636a 100644 --- a/commands/select/select.go +++ b/commands/select/select.go @@ -39,10 +39,10 @@ type Resolver[CacheT cache.CacheEntity] interface { // line. If it fails, it falls back to the select mechanism. // // Returns: -// - the entity if any -// - the new list of command line arguments with the entity prefix removed if it -// has been used -// - an error if the process failed +// - the entity if any +// - the new list of command line arguments with the entity prefix removed if it +// has been used +// - an error if the process failed func Resolve[CacheT cache.CacheEntity](repo *cache.RepoCache, typename string, namespace string, resolver Resolver[CacheT], args []string) (CacheT, []string, error) { |