Project

General

Profile

Actions

Feature #6138

closed

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

Added by Lukas Zapletal almost 11 years ago. Updated over 8 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

Also available in: Atom PDF