set_main_group


Description:

public void set_main_group (owned OptionGroup group)

Sets a OptionGroup as main group of the this.

This has the same effect as calling add_group, the only difference is that the options in the main group are treated differently when generating `--help` output.

Parameters:

this

a OptionContext

group

the group to set as main group