aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/bridge/bridge_new.go2
-rw-r--r--commands/select/select.go8
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) {