Project

General

Profile

Bug #21186

--version is missing in foreman-maintain advanced procedure run repositories-setup -h

Added by Swapnil Abnave about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1497130

Description of problem: We were trying to run foreman-maintain advanced procedure run repositories-setup. But it shows

  1. foreman-maintain advanced procedure run repositories-setup
    ERROR: option '--version' is required

See: 'foreman-maintain advanced procedure run repositories-setup --help'

and foreman-maintain advanced procedure run repositories-setup --help do not display any --version option.

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

How reproducible: always

Steps to Reproduce:
1. # foreman-maintain advanced procedure run repositories-setup
ERROR: option '--version' is required

See: 'foreman-maintain advanced procedure run repositories-setup --help'

  1. foreman-maintain advanced procedure run repositories-setup -h
    Usage:
    foreman-maintain advanced procedure run repositories-setup [OPTIONS]

Options:
-y, --assumeyes Automatically answer yes for all questions
-w, --whitelist whitelist Comma-separated list of labels of steps to be ignored
-f, --force Force steps that would be skipped as they were already run
-h, --help print help

Actual results:
--version is missing in help.

Expected results:
--version option should be there.

Additional info:

Associated revisions

Revision 2c18a688 (diff)
Added by Swapnil Abnave almost 3 years ago

Fixes #21186 - Add description to --version

History

#1 Updated by The Foreman Bot about 3 years ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/105 added

#2 Updated by Swapnil Abnave almost 3 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Also available in: Atom PDF