Project

General

Profile

Actions

Feature #6138

closed

[RFE] Issue a warning when any parameter starts with doubledashes

Added by Lukas Zapletal almost 10 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I had to solve interesting bug when user forgot to actually provide an option:

katello-installer --capsule-foreman-oauth-key --capsule-foreman-oauth-secret --capsule-register-in-foreman

Then the instance was broken because key was remembered as: "--capsule-foreman-oauth-secret".

We could implement a tiny little thing that would warn if any parameter starts with "--" to at least warn user for those options that are in free form.


Related issues 1 (1 open0 closed)

Related to Kafo - Bug #3704: Foreman-installer options -manage needs a true argumentNew11/20/2013Actions
Actions #1

Updated by Dominic Cleal almost 8 years ago

  • Related to Bug #3704: Foreman-installer options -manage needs a true argument added
Actions #2

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Dominic Cleal
  • Pull request https://github.com/theforeman/kafo/pull/175 added
Actions #3

Updated by Dominic Cleal over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF