[Geany] Dealing with unknown command line options
Jeff Pohlmeyer
yetanothergeek at xxxxx
Tue Dec 18 21:15:24 UTC 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unknown-option.patch
Type: text/x-diff
Size: 818 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20071218/b8f072e8/attachment.patch>
More information about the Users
mailing list