We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83a850b commit 5700525Copy full SHA for 5700525
lib/gis/parser_md.c
@@ -32,7 +32,14 @@ void G__usage_markdown(void)
32
/* print metadata used by man/build*.py */
33
fprintf(stdout, "---\n");
34
fprintf(stdout, "name: %s\n", st->pgm_name);
35
- fprintf(stdout, "description: %s\n", st->module_info.description);
+ fprintf(stdout, "description: ");
36
+ if (st->module_info.label)
37
+ fprintf(stdout, "%s", st->module_info.label);
38
+ if (st->module_info.label && st->module_info.description)
39
+ fprintf(stdout, " ");
40
+ if (st->module_info.description)
41
+ fprintf(stdout, "%s", st->module_info.description);
42
+ fprintf(stdout, "\n");
43
fprintf(stdout, "keywords: [ ");
44
G__print_keywords(stdout, NULL, FALSE);
45
fprintf(stdout, " ]");
0 commit comments