[Gambas-user] Question about gb.args

Willy Raets willy at ...2734...
Thu Nov 29 05:30:55 CET 2012


I has a quick look at the documentation of gb.args.

As I understand it gb.args is able to return version of an applicatiosn.
Like if I have a GUI Gambas app named MyApp in /usr/bin/ a MyApp
--version should return version of the installed application.

Documentation says:
Automatically handle --version and --help options.

Does automatically mean I only need to enable the component and app will
return version info when doing MyApp --version
OR
Does this mean I have to do some coding to make it work? And how would
that look like?
AND
I guess for help you would need to provide something to show? How would
that have to be implemented?

Haven't got a trunk version installed right now to try, but will install
one in VM as soon as time. Meanwhile investigating the matter :-)

Thanks,

Willy





More information about the User mailing list