From 5dd608fafd034183f84403e8c429dc08359dbd18 Mon Sep 17 00:00:00 2001 From: Barrucadu Date: Mon, 4 May 2009 12:02:44 +0100 Subject: Corrected options, removed verbose option as it's not used anywhere. --- uzbl.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'uzbl.c') 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 } }; -- cgit v1.2.3