From 1091a1c1e42776a9094ee00fec819bc930289f9c Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Tue, 25 Dec 2012 01:24:26 +0100 Subject: [PATCH] Made better help descriptions for program options. --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)) { -- 2.20.1