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

Fix help for the subcommands

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • 6.18.0
    • None
    • None
    • None
    • None

      The same set of options is listed as available when --help is passed for f-m report, f-m report generate and f-m report condense

      --output is applicable to both subcommands, but is listed twice in help
      --input and --max-age are applicable to condense subcommand only

      # foreman-maintain report generate --help
      Usage:
          foreman-maintain report generate [OPTIONS]
      
      Options:
          --output FILE      Output the generate report into FILE
          --input FILE       Input the report from FILE
          --output FILE      Output the condense report into FILE
          --max-age HOURS    Max age of the report in hours
          -h, --help         print help
      
      # foreman-maintain report condense --help
      Usage:
          foreman-maintain report condense [OPTIONS]
      
      Options:
          --output FILE      Output the generate report into FILE
          --input FILE       Input the report from FILE
          --output FILE      Output the condense report into FILE
          --max-age HOURS    Max age of the report in hours
          -h, --help         print help
      
      # foreman-maintain report --help
      Usage:
          foreman-maintain report [OPTIONS] SUBCOMMAND [ARG] ...
      
      Parameters:
          SUBCOMMAND         subcommand
          [ARG] ...          subcommand arguments
      
      Subcommands:
          generate           Generates the usage reports
          condense           Generate a JSON formatted report with condensed data from the original report.
      
      Options:
          --output FILE      Output the generate report into FILE
          --input FILE       Input the report from FILE
          --output FILE      Output the condense report into FILE
          --max-age HOURS    Max age of the report in hours
          -h, --help         print help

              aruzicka@redhat.com Adam Ruzicka
              aruzicka@redhat.com Adam Ruzicka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: