[Geany] Dealing with unknown command line options

Jeff Pohlmeyer yetanothergeek at xxxxx
Wed Dec 19 21:59:12 UTC 2007


On Dec 19, 2007 7:55 AM, Enrico Tröger <enrico.troeger at uvena.de> wrote:

> I didn't find a way to get geany --version
> running on a text console.

Ooops, I had not thought of that one...

What if you first do a simple loop through the command
line options, and if you find one of these:

 --ft-names
 --print-prefix
 -v
 --version

Just print the requested information and exit,
so glib/gtk will never "see" the option.

 - Jeff



More information about the Users mailing list