@@ -214,6 +214,9 @@ def _parser_add_bz_fields(rootp, command):
214214 p .add_argument ('-c' , '--component' , help = "Component name" )
215215 p .add_argument ('-t' , '--summary' , '--short_desc' , help = "Bug summary" )
216216 p .add_argument ('-l' , '--comment' , '--long_desc' , help = comment_help )
217+ if not cmd_query :
218+ p .add_argument ("--comment-tag" , action = "append" ,
219+ help = "Comment tag for the new comment" )
217220 p .add_argument ("--sub-component" , action = "append" ,
218221 help = "RHBZ sub component field" )
219222 p .add_argument ('-o' , '--os' , help = "Operating system" )
@@ -779,6 +782,7 @@ def parse_multi(val):
779782 qa_contact = opt .qa_contact or None ,
780783 sub_component = opt .sub_component or None ,
781784 alias = opt .alias or None ,
785+ comment_tags = opt .comment_tag or None ,
782786 )
783787
784788 _merge_field_opts (ret , opt , parser )
@@ -864,6 +868,7 @@ def _do_modify(bz, parser, opt):
864868 sub_component = opt .sub_component or None ,
865869 alias = opt .alias or None ,
866870 flags = flags or None ,
871+ comment_tags = opt .comment_tag or None ,
867872 )
868873
869874 # We make this a little convoluted to facilitate unit testing
0 commit comments