/* help.c - command-line help for mview
 */

#include <stdio.h>


/* Display command-line help for mview.
 */
void display_help(void)
{
	printf("\
Usage: mview [OPTIONS] [FILE]...\n\
Show FILE in a full-screen viewer, expanding attribute codes and special\n\
lines. If more than one FILE is specified, each is shown in turn.\n\
\n\
  -m, --menu            view files as menus, not as normal files\n\
\n\
  +N, -l N, --line=N    start with line N at the bottom of the screen\n\
  -z, --bottom          start at the bottom of each file\n\
  -T, --top             start at the top of each file (default)\n\
  -c, --no-colours,     do not use colour attributes\n\
      --monochrome\n\
\n\
  -d FILE, --ldb=FILE   use FILE as a last-access database\n\
  -n, --no-ldb          don't use LDB (default if MVIEW_LDB is unset)\n\
  -p, --purge-ldb       purge LDB of files that no longer exist\n\
  -f FILE, --file=FILE  pretend input files are all called FILE\n\
\n\
  -y, --anonymous       don't show account names, only namelines\n\
  -r, --readonly        disallow addition to or editing of files\n\
  -e, --no-edit         only disallow direct editing, can still add\n\
\n\
      --help            show this help and exit\n\
  -V, --version         show version information and exit\n\
\n\
Report bugs to <mconv@ivarch.com>.\n\
");
}

/* EOF */
