From: Daniel Carl Date: Tue, 25 Dec 2012 00:24:26 +0000 (+0100) Subject: Made better help descriptions for program options. X-Git-Url: https://git.owens.tech/git.owens.tech/git.owens.tech/git?a=commitdiff_plain;h=1091a1c1e42776a9094ee00fec819bc930289f9c;p=vimb.git Made better help descriptions for program options. --- diff --git a/src/main.c b/src/main.c index 4b63a79..03d88d3 100644 --- a/src/main.c +++ b/src/main.c @@ -719,9 +719,9 @@ int main(int argc, char* argv[]) static gboolean ver = false; static GError* err; static GOptionEntry opts[] = { - { "version", 'v', 0, G_OPTION_ARG_NONE, &ver, "print version", NULL }, - { "embed", 'e', 0, G_OPTION_ARG_STRING, &winid, "embedded", NULL }, - { NULL } + {"version", 'v', 0, G_OPTION_ARG_NONE, &ver, "Print version", NULL}, + {"embed", 'e', 0, G_OPTION_ARG_STRING, &winid, "Reparents to window specified by xid", NULL}, + {NULL} }; /* Initialize GTK+ */ if (!gtk_init_with_args(&argc, &argv, "[]", opts, NULL, &err)) {