On Sun, Aug 5, 2012 at 9:07 PM, Carsten Haitzler <ras...@rasterman.com> wrote:
> On Sun, 5 Aug 2012 16:56:58 -0300 Gustavo Sverzut Barbieri
> <barbi...@profusion.mobi> said:
>
>> On Sun, Aug 5, 2012 at 6:38 AM, Enlightenment SVN
>> <no-re...@enlightenment.org> wrote:
>> > Log:
>> > add bunch of option s to terminology suggested by Thanatermesis - not
>> >   in the exact way asked due to ecore-getopt, but they are there
>> >   functionally.
>>
>> > @@ -222,10 +227,17 @@
>> >                                "Set window title."),
>> >        ECORE_GETOPT_STORE_STR ('i', "icon-name",
>> >                                "Set icon name."),
>> > +      ECORE_GETOPT_STORE_STR ('f', "font",
>> > +                              "Set font (NAME/SIZE for scalable, NAME for
>> > bitmap."), ECORE_GETOPT_CHOICE    ('v', "video-module",
>> >                                "Set emotion module to use.",
>> > emotion_choices), +
>> >        ECORE_GETOPT_STORE_BOOL('m', "video-mute",
>> >                                "Set mute mode for video playback."),
>> > +      ECORE_GETOPT_STORE_BOOL('c', "cursor-blink",
>> > +                              "Set cursor blink mode."),
>> > +      ECORE_GETOPT_STORE_BOOL('V', "visual-bell",
>> > +                              "Set visual bell mode."),
>> >        ECORE_GETOPT_STORE_TRUE('F', "fullscreen",
>> >                                "Go into the fullscreen mode from start."),
>> >        ECORE_GETOPT_STORE_TRUE('I', "iconic",
>> > @@ -238,10 +250,13 @@
>> >                                "Become maximized from the start."),
>> >        ECORE_GETOPT_STORE_TRUE('W', "nowm",
>> >                                "Terminology is run without a wm."),
>> > -      ECORE_GETOPT_VERSION('V', "version"),
>> > -      ECORE_GETOPT_COPYRIGHT('C', "copyright"),
>> > -      ECORE_GETOPT_LICENSE('L', "license"),
>> > -      ECORE_GETOPT_HELP('h', "help"),
>> > +      ECORE_GETOPT_STORE_TRUE('H', "hold",
>> > +                              "Don't exit when the command process
>> > exits."), +
>> > +      ECORE_GETOPT_VERSION   ('V', "version"),
>> > +      ECORE_GETOPT_COPYRIGHT ('C', "copyright"),
>> > +      ECORE_GETOPT_LICENSE   ('L', "license"),
>> > +      ECORE_GETOPT_HELP      ('h', "help"),
>> >        ECORE_GETOPT_SENTINEL
>>
>> two -V?
>>
>> During development you can also call
>> ecore_getopt_parser_has_duplicates() that will check it for you.
>
> short options should allow for multiple chars... it's getting hard to pick
> chars for options... eg '-bg' should be possible.

use short = '\0' (0), full = "bg"

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to