the first char.
* `hint-keys=0123` -> `1 2 3 10 11 12 13`
* `hint-keys=asdf` -> `a s d f aa as ad af`
-* Show versions of used libs on `vimb -v` and the extension directory for
- easier issue investigation.
+* Show versions of used libs on `vimb --bug-info` and the extension directory
+ for easier issue investigation.
* During hinting JavaScript is enabled and reset to it's previous setting after
hinting is done might be security relevant.
* Allow extended hints mode also for open `g;o` to allow the user to toggle
\fIPROFILE-NAME\fP under default directory for configuration data.
.TP
.B "\-v, \-\-version"
-Print build and version information.
+Print build and version information and then quit.
+.TP
+.B "\-\-bug-info"
+Prints information about used libraries for bug reports and then quit.
.SH MODES
Vimb is modal and has the following main modes:
.TP
Client *c;
GError *err = NULL;
char *pidstr, *winid = NULL;
- gboolean ver = FALSE;
+ gboolean ver = FALSE, buginfo = FALSE;
GOptionEntry opts[] = {
{"embed", 'e', 0, G_OPTION_ARG_STRING, &winid, "Reparents to window specified by xid", NULL},
{"config", 'c', 0, G_OPTION_ARG_FILENAME, &vb.configfile, "Custom configuration file", NULL},
{"profile", 'p', 0, G_OPTION_ARG_CALLBACK, (GOptionArgFunc*)profileOptionArgFunc, "Profile name", NULL},
{"version", 'v', 0, G_OPTION_ARG_NONE, &ver, "Print version", NULL},
+ {"bug-info", 0, 0, G_OPTION_ARG_NONE, &buginfo, "Print used library versions", NULL},
{NULL}
};
if (ver) {
printf("%s, version %s\n\n", PROJECT, VERSION);
+ return EXIT_SUCCESS;
+ }
+
+ if (buginfo) {
printf("Commit: %s\n", COMMIT);
printf("WebKit compile: %d.%d.%d\n",
WEBKIT_MAJOR_VERSION,