Term.with_used_args which discussed in #101 and implemented in #103 has many bugs.
- It reorders positional and optional arguments; that could be fine.
- It separates values from short option names. This is a bug.
- It seperates values from long option names. That could be fine.
- It does not report the
-- token. This is a bug.
Shown here on the current test exectuble test_with_used_args
> b0 -- test_with_used_args -- hoho --bbb=bla
hoho --bbb=bla
> b0 -- test_with_used_args hoho -bbla
-b bla hoho
> b0 -- test_with_used_args hoho --bbb=bla
--bbb bla hoho
> b0 -- test_with_used_args -- hoho --bbb=bla
hoho --bbb=bla
Term.with_used_argswhich discussed in #101 and implemented in #103 has many bugs.--token. This is a bug.Shown here on the current test exectuble
test_with_used_args