[pango/visible-things] pango-view: Boolean options don't take arguments
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/visible-things] pango-view: Boolean options don't take arguments
- Date: Mon, 8 Jul 2019 03:49:34 +0000 (UTC)
commit cacfd722ed4d704004d850507a4aeee27bb270cb
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jul 7 23:48:57 2019 -0400
pango-view: Boolean options don't take arguments
utils/viewer-render.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/utils/viewer-render.c b/utils/viewer-render.c
index 8180bb1c..f689bf95 100644
--- a/utils/viewer-render.c
+++ b/utils/viewer-render.c
@@ -727,9 +727,9 @@ parse_options (int argc, char *argv[])
{"line-spacing", 0, 0, G_OPTION_ARG_DOUBLE, &opt_line_spacing,
"Spread factor for line height", "factor"},
{"show-ignorables", 0, 0, G_OPTION_ARG_NONE, &opt_show_ignorables,
- "Show invisible characters", "show"},
+ "Show invisible characters", NULL},
{"show-space", 0, 0, G_OPTION_ARG_NONE, &opt_show_space,
- "Show space", "show"},
+ "Show space", NULL},
{"justify", 0, 0, G_OPTION_ARG_NONE, &opt_justify,
"Align paragraph lines to be justified", NULL},
{"language", 0, 0, G_OPTION_ARG_STRING, &opt_language,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]