aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Barrucadu <mike@barrucadu.co.uk>2009-05-04 12:02:44 +0100
committerGravatar Barrucadu <mike@barrucadu.co.uk>2009-05-04 12:02:44 +0100
commit5dd608fafd034183f84403e8c429dc08359dbd18 (patch)
tree680ddfad1858c275456143eb81248922dcb4b7c2 /uzbl.c
parentf6c8d8a2a226f3d256f8b2d53ed84897862208a6 (diff)
Corrected options, removed verbose option as it's not used anywhere.
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/uzbl.c b/uzbl.c
index 57c2de4..37e2b44 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -77,7 +77,6 @@ static gchar searchtx[500] = "\0";
static gchar* uri = NULL;
static gchar* config_file = NULL;
static gchar config_file_path[500];
-static gboolean verbose = FALSE;
static gchar* instance_name = NULL;
/* settings from config: group behaviour */
@@ -105,10 +104,9 @@ static GHashTable* commands;
/* commandline arguments (set initial values for the state variables) */
static GOptionEntry entries[] =
{
- { "uri", 'u', 0, G_OPTION_ARG_STRING, &uri, "Uri to load", NULL },
- { "name", 'n', 0, G_OPTION_ARG_STRING, &instance_name, "Name of the current instance", NULL },
- { "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, "Be verbose", NULL },
- { "config", 'c', 0, G_OPTION_ARG_STRING, &config_file, "Config file", NULL },
+ { "uri", 'u', 0, G_OPTION_ARG_STRING, &uri, "Uri to load", "URI" },
+ { "name", 'n', 0, G_OPTION_ARG_STRING, &instance_name, "Name of the current instance", "NAME" },
+ { "config", 'c', 0, G_OPTION_ARG_STRING, &config_file, "Config file", "FILE" },
{ NULL, 0, 0, 0, NULL, NULL, NULL }
};