Glib options parser syntax

Hi everyone,

is there any settings that allow g_option_context_parse() to handle a value that follow the short-option letter immediately? (like with gnu or bsd getopt(3))
(for example ‘ping -c5’ instead of ‘ping -c 5’)

No, there isn’t. GOptionContext is not bound to any sort of compatibility to getopt.

1 Like

Okay, thank you for info about this (in)compatibility, it’ll save time searching for that.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.