aboutsummaryrefslogtreecommitdiffstats
path: root/commands/label_add.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-05-01 12:54:40 +0200
committerGitHub <noreply@github.com>2022-05-01 12:54:40 +0200
commit547d626c2515b764f1fba1cd6b0dee1c69d8f36a (patch)
treecfcb5f96e49e8109ab69d2f993618625139da41c /commands/label_add.go
parent8ee333582ff82d0df971309e94946f2f6e69475b (diff)
parent3d534a70e906997020a8d44ad0b70b4db3fd6d1b (diff)
downloadgit-bug-547d626c2515b764f1fba1cd6b0dee1c69d8f36a.tar.gz
Merge pull request #531 from krobelus/complete-bug-ids
Complete bug IDs where appropriate
Diffstat (limited to 'commands/label_add.go')
-rw-r--r--commands/label_add.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/label_add.go b/commands/label_add.go
index c60ecfeb..65439a4a 100644
--- a/commands/label_add.go
+++ b/commands/label_add.go
@@ -17,6 +17,7 @@ func newLabelAddCommand() *cobra.Command {
RunE: closeBackend(env, func(cmd *cobra.Command, args []string) error {
return runLabelAdd(env, args)
}),
+ ValidArgsFunction: completeBugAndLabels(env, true),
}
return cmd