# HG changeset patch # User Christophe Lincoln # Date 1489493764 -3600 # Node ID f71f2a7adfbf314897222039514bc8c94bbe4541 # Parent f4f9f41cf0048ee5602680f6585a87f7bccf8cf8 Improve cmdline help diff -r f4f9f41cf004 -r f71f2a7adfbf src/tazweb.c --- a/src/tazweb.c Tue Mar 14 13:01:10 2017 +0100 +++ b/src/tazweb.c Tue Mar 14 13:16:04 2017 +0100 @@ -36,7 +36,6 @@ static gboolean notoolbar; static gboolean nomenu; static gboolean kiosk; -static gboolean raw; static GtkWidget* create_window(WebKitWebView** newwebview); static GtkWidget *tazweb_window, *vbox, *browser, *toolbar; @@ -548,15 +547,15 @@ Usage: tazweb [--options] [value] url\n\ \n\ Options:\n\ - -h --help\n\ - -p --private\n\ - -u --useragent [ua]\n\ - -k --kiosk\n\ - -r --raw\n\ - -s --small\n\ - --notoolbar\n\ - --nomenu\n\n"); - printf ("Bookmarks: %s\n\n", BOOKMARKS); + -h --help Print TazWeb command line help\n\ + -p --private Private browsing without cookies support\n\ + -u --useragent [ua] Configure the user agent string\n\ + -k --kiosk Fullscreen, no bookmarks and download support\n\ + -r --raw Raw webkit window without toolbar and menu\n\ + -s --small Small Tazweb window for tiny web applications\n\ + --notoolbar Disable the top toolbar\n\ + --nomenu Disable TazWeb contextual menu\n\n"); + return; }