tazweb rev 186

Improve cmdline help
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 14 13:16:04 2017 +0100 (2017-03-14)
parents f4f9f41cf004
children d1524fff7d4b
files src/tazweb.c
line diff
     1.1 --- a/src/tazweb.c	Tue Mar 14 13:01:10 2017 +0100
     1.2 +++ b/src/tazweb.c	Tue Mar 14 13:16:04 2017 +0100
     1.3 @@ -36,7 +36,6 @@
     1.4  static gboolean		notoolbar;
     1.5  static gboolean		nomenu;
     1.6  static gboolean		kiosk;
     1.7 -static gboolean		raw;
     1.8  
     1.9  static GtkWidget*		create_window(WebKitWebView** newwebview);
    1.10  static GtkWidget		*tazweb_window, *vbox, *browser, *toolbar;
    1.11 @@ -548,15 +547,15 @@
    1.12  Usage: tazweb [--options] [value] url\n\
    1.13  \n\
    1.14  Options:\n\
    1.15 -  -h  --help\n\
    1.16 -  -p  --private\n\
    1.17 -  -u  --useragent [ua]\n\
    1.18 -  -k  --kiosk\n\
    1.19 -  -r  --raw\n\
    1.20 -  -s  --small\n\
    1.21 -	  --notoolbar\n\
    1.22 -	  --nomenu\n\n");
    1.23 -	printf ("Bookmarks: %s\n\n", BOOKMARKS);
    1.24 +  -h  --help            Print TazWeb command line help\n\
    1.25 +  -p  --private         Private browsing without cookies support\n\
    1.26 +  -u  --useragent [ua]  Configure the user agent string\n\
    1.27 +  -k  --kiosk           Fullscreen, no bookmarks and download support\n\
    1.28 +  -r  --raw             Raw webkit window without toolbar and menu\n\
    1.29 +  -s  --small           Small Tazweb window for tiny web applications\n\
    1.30 +      --notoolbar       Disable the top toolbar\n\
    1.31 +      --nomenu          Disable TazWeb contextual menu\n\n");
    1.32 +    
    1.33  	return;
    1.34  }
    1.35