Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command line -p works but --plugin doesn't seem to #31

Open
SamWindell opened this issue Jan 23, 2023 · 1 comment
Open

Command line -p works but --plugin doesn't seem to #31

SamWindell opened this issue Jan 23, 2023 · 1 comment

Comments

@SamWindell
Copy link

It seems for me the long version of the command line argument is not working for me. I'm simply passing the exact same path but with --plugin instead of -p.

Can anyone else repro this?

The code that parses the command line arguments looks like correct to me so I'm scratching my head here.

QCommandLineOption pluginOpt(QStringList() << "p"
                                           << "plugin",
                             tr("path to the plugin"),
                             tr("path"));

https://doc.qt.io/qt-6.2/qcommandlineoption.html#QCommandLineOption-3

@gentoid
Copy link

gentoid commented Feb 14, 2023

I guess the longer version is being caught by Qt. It appears twice if run this command:
.\builds\vs-vcpkg\host\Release\clap-host.exe --help-all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants