summaryrefslogtreecommitdiff
path: root/src/argv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/argv.cpp')
-rw-r--r--src/argv.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/argv.cpp b/src/argv.cpp
new file mode 100644
index 0000000..a81a3c0
--- /dev/null
+++ b/src/argv.cpp
@@ -0,0 +1,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);
+ }
+}
+