formatting + clarification
authorDieter Plaetinck <dieter@plaetinck.be>
Fri, 29 May 2009 16:41:28 +0000 (18:41 +0200)
committerDieter Plaetinck <dieter@plaetinck.be>
Fri, 29 May 2009 16:41:28 +0000 (18:41 +0200)
uzblctrl.c

index 9aaca0b..7c369aa 100644 (file)
@@ -23,7 +23,7 @@ static gchar* command;
 
 static GOptionEntry entries[] =
 {
-    { "socket",  's', 0, G_OPTION_ARG_STRING, &sockpath, "Path to the uzbl socket", NULL },
+    { "socket",  's', 0, G_OPTION_ARG_STRING, &sockpath, "Path to the uzbl socket",        NULL },
     { "command", 'c', 0, G_OPTION_ARG_STRING, &command,  "The uzbl command to execute",    NULL },
     { NULL,       0,  0, 0,                    NULL,      NULL,                            NULL }
 };
@@ -31,7 +31,7 @@ static GOptionEntry entries[] =
 int
 main(int argc, char* argv[]) {
     GError *error = NULL;
-    GOptionContext* context = g_option_context_new ("- utility for controlling uzbl");
+    GOptionContext* context = g_option_context_new ("- utility for controlling and interacting with uzbl through it's socket file"); //TODO: get stuff back from uzbl
     g_option_context_add_main_entries (context, entries, NULL);
     g_option_context_add_group        (context, gtk_get_option_group (TRUE));
     g_option_context_parse            (context, &argc, &argv, &error);