commandlineparser / commandlineparser/commandline

Cannot use 2 verbs at the same time

Open
#176 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.8k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

**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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.