Replies: 2 comments
-
@phlptp Can you take a look? Thank you very much! |
Beta Was this translation helpful? Give feedback.
0 replies
-
you probably need to add ->expected(0,-1) to the COMMAND positional, so it knows to expect a vector, otherwise it will just grab one and assume it is complete, rather than taking all the remaining positionals. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I make this change, the parameter check fails
this is my command.
$ /usr/bin/ll-cli run org.deepin.editor --file %F -- -- deepin-editor %%F The following arguments were not expected: %%F deepin-editor -- Run with --help or --help-all for more information.
There was no problem before the modification
I made this change by removing the options struct and getting the value directly from subcommand.get_option
Beta Was this translation helpful? Give feedback.
All reactions