+static GtkWidget *w_taskdone_btn;
+static GtkComboBox *w_status;
+static GtkComboBox *w_priority;
+static GSettings *settings;
+
+enum {
+ COL_ID,
+ COL_DESCRIPTION,
+ COL_PROJECT,
+ COL_UUID,
+ COL_PRIORITY
+};
+
+static struct option long_options[] = {
+ {"version", no_argument, 0, 'v'},
+ {"help", no_argument, 0, 'h'},
+ {"debug", required_argument, 0, 'd'},
+ {0, 0, 0, 0}
+};
+
+static void print_version()
+{
+ printf("ptask %s\n", VERSION);
+ printf(_("Copyright (C) %s jeanfi@gmail.com\n"
+ "License GPLv2: GNU GPL version 2 or later "
+ "<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>\n"
+ "This is free software: you are free to change and "
+ " redistribute it.\n"
+ "There is NO WARRANTY, to the extent permitted by law.\n"),
+ "2012-2013");
+}
+
+static void print_help()
+{
+ printf(_("Usage: %s [OPTION]...\n"), program_name);
+
+ puts(_("ptask is a task management user interface based"
+ " on taskwarrior."));
+
+ puts("");
+ puts(_("Options:"));
+ puts(_(" -h, --help display this help and exit\n"
+ " -v, --version display version information and exit"));
+
+ puts("");
+
+ puts(_(" -d, --debug=LEVEL "
+ "set the debug level, integer between 0 and 3"));
+
+ puts("");
+
+ printf(_("Report bugs to: %s\n"), PACKAGE_BUGREPORT);
+ puts("");
+ printf(_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_URL);
+}