Bug report #15024

"qgis --help" command does nothing on Windows

Added by Harrissou Santanna over 8 years ago. Updated about 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Unknown
Affected QGIS version:2.14.3 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:22971

Description

While "qgis" or "qgis --nocustomization" launches qgis application, typing "qgis --help" at a command prompt does not show the help

History

#1 Updated by Larry Shaffer over 8 years ago

I believe (can't find docs on this right now) that this stems from Windows not allowing applications to be defined as both GUI and console. This is why you can not also just get DebugInfo output on a Win console launch of QGIS.

This may be able to be overcome (with AllocConsole or AttachConsole Win API calls, though I have not tested):
http://stackoverflow.com/questions/54536

#2 Updated by Jürgen Fischer about 8 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

On windows now a message box is opened on --help. Fixed in a465b0e, 8ced780, bd23bf1a and f61c993

#3 Updated by Jürgen Fischer about 7 years ago

  • Category set to Unknown

Also available in: Atom PDF