[Gambas-user] Unknown CLI options 3.16, trapping of

bb adamnt42 at gmail.com
Fri Aug 27 12:35:48 CEST 2021


On Fri, 2021-08-27 at 12:28 +0200, Benoît Minisini wrote:
> Le 27/08/2021 à 12:21, bb a écrit :
> > With the new(ish) 3.16 gb.args component is there any way to trap
> > "unknown" CLI options rather than the project just exiting with
> > status
> > 1?
> > 
> > tia
> > bruce
> > 
> > 
> > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> > 
> 
> What for?
> 
We are having a lot of trouble with desktop files. I just want to be
able to tell the user that something is awry.

If an application is installed and present in a menu (and the menu
desktop file is not right) then all the user sees when they click on
the menu is  

(that was an Australian joke meaning "nothing".)

b




More information about the User mailing list