summaryrefslogtreecommitdiff
path: root/src/argv.cpp
blob: f1a3a862ce2899aa30d256c9ad18daf5ca1ff77b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <config.h>

#include <glib/gi18n.h>
#include <glibmm/optionentry.h>


#include "argv.h"

namespace procman
{
    OptionGroup::OptionGroup()
        : Glib::OptionGroup("", ""),
          show_system_tab(false)
    {
        Glib::OptionEntry sys_tab;
        sys_tab.set_long_name("show-system-tab");
        sys_tab.set_short_name('s');
        sys_tab.set_description(_("Show the System tab"));
        this->add_entry(sys_tab, this->show_system_tab);
    }
}