GRASS 8 Programmer's Manual 8.5.0RC1(2026)-3334b87d9c
Loading...
Searching...
No Matches
parser_rest.c File Reference

GIS Library - Argument parsing functions (reStructuredText output). More...

#include <stdio.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/glocale.h>
#include "parser_local_proto.h"
Include dependency graph for parser_rest.c:

Go to the source code of this file.

Macros

#define do_escape(c, escaped)
 Format text for reStructuredText output.

Functions

void G__usage_rest (void)
 Print module usage description in reStructuredText format.

Detailed Description

GIS Library - Argument parsing functions (reStructuredText output).

(C) 2012 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.

Author
Luca Delucchi

Definition in file parser_rest.c.

Macro Definition Documentation

◆ do_escape

#define do_escape ( c,
escaped )
Value:
case c: \
fputs(escaped, f); \
break

Format text for reStructuredText output.

Definition at line 262 of file parser_rest.c.

Function Documentation

◆ G__usage_rest()

void G__usage_rest ( void )

Print module usage description in reStructuredText format.

Definition at line 27 of file parser_rest.c.

References FALSE, G__print_keywords(), G__uses_new_gisprompt(), G_program_name(), and NULL.

Referenced by G_parser().