|
GRASS GIS 8 Programmer's Manual 8.4.2(2025)-exported
|
GIS Library - Argument parsing functions (reStructuredText and Markdown output) More...
#include <stdbool.h>#include <stdio.h>#include <string.h>#include <grass/gis.h>#include <grass/glocale.h>#include "parser_local_proto.h"
Go to the source code of this file.
Macros | |
| #define | do_escape(c, escaped) |
| Format text for reStructuredText output. | |
Functions | |
| void | print_option (const struct Option *opt, bool rest, char *) |
| void | G__usage_rest (void) |
| Print module usage description in reStructuredText format. | |
| void | G__usage_markdown (void) |
| Print module usage description in Markdown format. | |
GIS Library - Argument parsing functions (reStructuredText and Markdown output)
(C) 2012-2023 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file parser_rest_md.c.
| #define do_escape | ( | c, | |
| escaped | |||
| ) |
Format text for reStructuredText output.
Definition at line 455 of file parser_rest_md.c.
| void G__usage_markdown | ( | void | ) |
Print module usage description in Markdown format.
Definition at line 578 of file parser_rest_md.c.
References FALSE.
Referenced by G_parser().
| void G__usage_rest | ( | void | ) |
Print module usage description in reStructuredText format.
Definition at line 570 of file parser_rest_md.c.
References TRUE.
Referenced by G_parser().
| void print_option | ( | const struct Option * | opt, |
| bool | rest, | ||
| char * | image_spec_rest | ||
| ) |
Definition at line 305 of file parser_rest_md.c.
References G_asprintf(), and NULL.