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

[bug] --help and --version options are interpretted as input #14

Closed
M4rtinK opened this issue Oct 13, 2014 · 1 comment
Closed

[bug] --help and --version options are interpretted as input #14

M4rtinK opened this issue Oct 13, 2014 · 1 comment

Comments

@M4rtinK
Copy link

M4rtinK commented Oct 13, 2014

sailfish-qml intrepretes both --help and --version as input and tries to run them:

[nemo@Jolla ~]$ sailfish-qml --help
[D] QWaylandEglIntegration::QWaylandEglIntegration:58 - Using Wayland-EGL 
[D] MDesktopEntryPrivate::MDesktopEntryPrivate:126 - Specified Desktop file does not exist "/usr/share/applications/--help.desktop" 
[W] unknown:-1 - file:///usr/share/--help/qml/--help.qml: File not found 
[nemo@Jolla ~]$ sailfish-qml --version
[D] QWaylandEglIntegration::QWaylandEglIntegration:58 - Using Wayland-EGL 
[D] MDesktopEntryPrivate::MDesktopEntryPrivate:126 - Specified Desktop file does not exist "/usr/share/applications/--version.desktop" 
[W] unknown:-1 - file:///usr/share/--version/qml/--version.qml: File not found 

Expected outcome:
--help returns usage instructions and --version returns sailfish-qml version

@M4rtinK M4rtinK changed the title --help and --version options are interpretted as input [bug] --help and --version options are interpretted as input Oct 13, 2014
@martyone
Copy link
Member

Nowadays it says

[W] unknown:0 - Usage: sailfish-qml <appname> [<qt-option>...]

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