Project

General

Profile

Actions

Bug #21186

closed

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

Added by Swapnil Abnave over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
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:

Actions #1

Updated by The Foreman Bot over 6 years ago

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

Updated by Swapnil Abnave over 6 years ago

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

Also available in: Atom PDF