GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-e07a2894ef
parser_rest_md.c File Reference

GIS Library - Argument parsing functions (reStructuredText and Markdown 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_md.c:

Go to the source code of this file.

Macros

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

Functions

void print_option (const struct Option *opt, bool rest, char *)
 
void G__usage_rest (void)
 Print module usage description in reStructuredText format. More...
 
void G__usage_markdown (void)
 Print module usage description in Markdown format. More...
 

Detailed Description

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.

Author
Luca Delucchi
Martin Landa (Markdown added)

Definition in file parser_rest_md.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 454 of file parser_rest_md.c.

Function Documentation

◆ G__usage_markdown()

void G__usage_markdown ( void  )

Print module usage description in Markdown format.

Definition at line 577 of file parser_rest_md.c.

◆ G__usage_rest()

void G__usage_rest ( void  )

Print module usage description in reStructuredText format.

Definition at line 569 of file parser_rest_md.c.

◆ print_option()

void print_option ( const struct Option opt,
bool  rest,
char *  image_spec_rest 
)

Definition at line 304 of file parser_rest_md.c.