You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
some time ago I stumbled upon a problem with CLI, which consisted of three or more commands. I have found a work-around and I am posting it here hoping it will help others struggling with the same.
It turned out that I can make clipp do what I want if instead of specifying the alternative of commands with | I'd use clipp::one_of.
The example above becomes:
Hi,
some time ago I stumbled upon a problem with CLI, which consisted of three or more commands. I have found a work-around and I am posting it here hoping it will help others struggling with the same.
The smallest non-working example is:
where
clipp
would parsea
,b
, but notc 123
.It turned out that I can make
clipp
do what I want if instead of specifying the alternative of commands with|
I'd useclipp::one_of
.The example above becomes:
The docs, unless I am missing something, specify that
one_of
is the same as|
, yet they produce different usage lines. The first one giveswhile the second one
The text was updated successfully, but these errors were encountered: