Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-20177

Option "--content-type" in "hammer content-credentials create --help" does not list the type of content, it should take as input.

XMLWordPrintable

    • 0
    • False
    • Hide

      None

      Show
      None
    • False
    • CLOSED
    • 500
    • Phoenix
    • Low
    • None

      Description of problem:

      Option"--content-type" in "hammer content-credentials create --help" does not list the type of content, it should take as input.

      Version-Release number of selected component (if applicable):

      6.9.z

      How reproducible:

      100%

      Steps to Reproduce:

      On satellite 6.9, execute the command:
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      1. hammer content-credentials create --help
        Usage:
        hammer content-credentials create [OPTIONS]

      Options:
      --content-type CONTENT_TYPE Type of content
      --key GPG_KEY_FILE GPG Key file
      --name NAME Identifier of the content credential
      --organization[-id|-title|-label] Set the current organization context for the request. Name/Title/Label/Id can be used
      -h, --help Print help
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      Actual results:

      Options:
      --content-type CONTENT_TYPE Type of content // It's missing the type of content, it should take as input.

      Expected results:

      Options:
      --content-type CONTENT_TYPE Type of content: “cert”, “gpg_key” // It should list the input it should take as input.

      Additional info:

      However, on satellite 6.10, the option is enhanced and customers expect the same for 6.9.z too.

      From satellite 6.10
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      1. hammer content-credentials create -h
        Usage:
        hammer content-credentials create [OPTIONS]

      Options:
      --content-type CONTENT_TYPE Type of content: “cert”, “gpg_key”

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

            jira-bugzilla-migration RH Bugzilla Integration
            jira-bugzilla-migration RH Bugzilla Integration
            RH Bugzilla Integration RH Bugzilla Integration
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: