#388 ODCS client: update source_type --help text
Merged 3 years ago by lsedlar. Opened 3 years ago by ktdreyer.
ktdreyer/odcs odcs-help-type  into  master

file modified
+1 -1
@@ -141,7 +141,7 @@ 

  create_parser.add_argument(

      'source_type', default=None,

      choices=['tag', 'module', 'raw_config', 'pulp', 'build'],

-     help="Type for the source. Must be 'tag' or 'module'")

+     help="Type for the source, for example: tag.")

  create_parser.add_argument(

      'source', default="",

      help="Source for the compose. May be a koji tag or a "

Prior to this change, the --help text indicated that source_type must be "tag" or "module". ODCS accepts several more source_types now, so this help text is no longer correct.

Argparse already prints all the choices for us, so we don't need to list them all. Just give one example of "tag".

Looks good to me. The failure in Jenkins is not related to this change.

Pull-Request has been merged by lsedlar

3 years ago