I notice that Geany doesn't handle unknown command line options the way most other programs do:
% nedit --no-such-option NEdit: Unrecognized option --no-such-option
% nano --no-such-option nano: unrecognized option `--no-such-option'
% geany --no-such-option Will create a new document named "--no-such-option"
Even more strange, with an already running instance of Geany:
% geany -i --no-such-option Gives me two new documents, one named "--no-such-option" and one named "-i" ?!?!
I think this patch should solve the problem...
- Jeff