Bug report #15024

"qgis --help" command does nothing on Windows

Added by Harrissou Santanna about 4 years ago. Updated almost 3 years ago.

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


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


#1 Updated by Larry Shaffer about 4 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):

#2 Updated by Jürgen Fischer almost 4 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 almost 3 years ago

  • Category set to Unknown

Also available in: Atom PDF