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

Help command line arguments don't work on Windows (-h, --help) #787

Open
codebrainz opened this issue Dec 1, 2015 · 1 comment
Open
Labels

Comments

@codebrainz
Copy link
Member

When you pass -h or --help to Geany.exe nothing happens, presumably because it's a "GUI" Windows application so doesn't get stdio handles. I tried with -v to but it doesn't work, I guess -h gets dealt with first by GOption* stuff.

@eht16
Copy link
Member

eht16 commented Dec 15, 2015

Yes, ages ago I tried to deal with that and failed, obviously.
IIRC it would work with the -v trick which opens a new text console but I guess currently this happens way too late for --help.
I don't remember all details but some Windows guru told me that you can either have a GUI application which does not spawn a new text console by itself but then have no way to print to stdout/stderr. Or you have a text/console application which opens a new console window and then is also able to print to stdout/stderr.

At some point I stopped trying to get this to work because it is not that important. What we probably could get more easily is a simple GUI popup dialog which displays the help text.

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

No branches or pull requests

2 participants