Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commitc36f4ef52afe116e5794ded7dcf16363298590f4 (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-07-21 10:52:05 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-07-21 10:52:05 +0300
Files3115d92d5e6e768a23e4be67fa644ee30d407f15
goodwolf-c36f4ef52afe116e5794ded7dcf16363298590f4.tar
goodwolf-c36f4ef52afe116e5794ded7dcf16363298590f4.tar.gz
goodwolf-c36f4ef52afe116e5794ded7dcf16363298590f4.zip
Parent507362e711767980ff0f057cff4648929b4b4a2d (diff)
goodwolf: Improved formatting of help message
1 files changed, 20 insertions, 13 deletions
-rw-r--r--goodwolf.c33
diff --git a/goodwolf.c b/goodwolf.c
index b2bcfcb..6563e6e 100644
--- a/goodwolf.c
+++ b/goodwolf.c
@@ -1180,20 +1180,27 @@ main(int argc, char *argv[])
{
if (argc > 1 && argv[1][0] == '-' && argv[1][1] == 'h') {
printf("\
-goodwolf [OPTIONS] [URLs]\n\n\
+goodwolf [OPTIONS] [URL...]\n\n\
Options:\n\
--j JavaScript is enabled by default for all tabs\n\
--s DD Specifies a custom favicon size, where DD is a two digit number\n\
--nl Tabs won't have a label (page title)\n\
--cl Tabs will have a context label (text that identifies every tab)\n\
--c You won't be able to add or remove any tabs, other than those specified\n\
- as parameters\n\
--t Adds a tray icon. Clicking it toggles visibility of the browser window.\n\
--u All tabs will use an alternative UserAgent\n\
--p Persistent storage, meaning non-session cookies will be stored on drive\n\
--g Separated storage, meaning persistent storage will be done separately for\n\
- each tab context. Doesn't do anything if the -p option isn't selected.\n"
- );
+ General:\n\
+ -h Prints this help message\n\
+\n\
+ Visual changes:\n\
+ -s DD Specifies a custom favicon size, where DD is a two digit number\n\
+ -cl Enables tab context label (text that identifies every tab)\n\
+ -nl Disables tab label (page title)\n\
+ -c You won't be able to add or remove any tabs, other than those specified\n\
+ as parameters\n\
+\n\
+ Usage changes:\n\
+ -j Enables JavaScript by default for all tabs\n\
+ -t Adds a tray icon. Clicking it toggles visibility of the browser window.\n\
+\n\
+ Rendering engine changes:\n\
+ -u All tabs will use an alternative UserAgent\n\
+ -p Enables persistent storage, meaning non-session cookies will be stored on drive\n\
+ -g Enables separated storage, meaning cookie storage will be separated between tabs by\n\
+ their context label. Doesn't do anything if the -p option isn't selected.\n");
return 0;
}