commandlineparser / commandlineparser/commandline

Cannot use 2 verbs at the same time

Offen
#176 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
4.8k
Forks
478
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Issue by [dmikov](https://github.com/dmikov)**
_Monday Oct 30, 2017 at 16:05 GMT_
_Originally opened as https://github.com/gsscoder/commandline/issues/497_

----

I have 2 verbs `upgrade` and `validate`, upgrade has 2 options `v` and `c`, the validate has 1 option `f`. If I use them separately it all works, if I put 2 verbs together on command line I am getting the `UnknownOptionError` from second verb option. i.e if the `upgrade` is first, then `f` on `validate` causes the error, if `validate` is first then `v` and `c` cause an error.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.