Bug #21320

Repeated --assumeyes option in help

Added by Kavita Gaikwad 9 months ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Kavita Gaikwad
Category:-
Target version:-
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link:1497134 Found in Releases:
Pull request:https://github.com/theforeman/foreman_maintain/pull/110

Description

Description of problem: Help for foreman-maintain advanced procedure run packages-update/ packages-install shows two times --assumeyes.

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

How reproducible: always

Steps to Reproduce:
1. # foreman-maintain advanced procedure run packages-update -h
Usage:
foreman-maintain advanced procedure run packages-update [OPTIONS]

Options:
--packages PACKAGES List of packages to update (comma-separated list)
--assumeyes ASSUMEYES Do not ask for confirmation
-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

2. # foreman-maintain advanced procedure run packages-install -h
Usage:
foreman-maintain advanced procedure run packages-install [OPTIONS]

Options:
--packages PACKAGES List of packages to install (comma-separated list)
--assumeyes ASSUMEYES Do not ask for confirmation
-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:

Expected results:

Additional info:

Associated revisions

Revision 3d0fee96
Added by Kavita Gaikwad 6 months ago

Fixes #21320 - repeated --assumeyes option in packages

History

#1 Updated by The Foreman Bot 9 months ago

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

#2 Updated by Kavita Gaikwad 9 months ago

  • Target version changed from 220 to 230
  • Status changed from New to Assigned

#3 Updated by Kavita Gaikwad 6 months ago

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

Also available in: Atom PDF