document alternative way for uri setting
authorDieter Plaetinck <dieter@plaetinck.be>
Sat, 11 Jul 2009 14:18:29 +0000 (16:18 +0200)
committerDieter Plaetinck <dieter@plaetinck.be>
Sat, 11 Jul 2009 14:18:29 +0000 (16:18 +0200)
README
uzbl.c

diff --git a/README b/README
index 6eaac42..ae9932b 100644 (file)
--- a/README
+++ b/README
@@ -298,8 +298,8 @@ The script specific arguments are this:
 Custom, userdefined scripts (`spawn foo bar`) get first the arguments as specified in the config and then the above 7 are added at the end.
 
 ### COMMAND LINE ARGUMENTS
-
-    -u, --uri=URI            Uri to load (equivalent to 'set uri = URI')
+    uzbl [ uri ]
+    -u, --uri=URI            alternative way to load uri on start. (equivalent to 'set uri = URI')
     -v, --verbose            Whether to print all messages or just errors.
     -n, --name=NAME          Name of the current instance (defaults to Xorg window id)
     -c, --config=FILE        Config file (or `-` to use stdin)
diff --git a/uzbl.c b/uzbl.c
index 9e5c1a9..193d0ba 100644 (file)
--- a/uzbl.c
+++ b/uzbl.c
@@ -2716,7 +2716,7 @@ main (int argc, char* argv[]) {
     uzbl.state.selected_url = NULL;
     uzbl.state.searchtx = NULL;
 
-    GOptionContext* context = g_option_context_new ("- some stuff here maybe someday");
+    GOptionContext* context = g_option_context_new ("[ uri ] - load a uri by default");
     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, NULL);