
#include "config.h"
#include "yodlfixlabels.h"

void 
usage ()
{
  fprintf (stderr,
	   "\n"
	   "Yodlfixlabels " TOPLEVEL_VERSION "\n"
	   "Usage: yodlfixlabels [OPTION]... INPUT-FILE [OUTPUT-FILENAME]\n"
	   "Yet OneOther Document Language\n"
	   "\n"
	   "Options:\n"
	   "                     -labels (fix labels, references, links)\n"
	   "                    -onepass (single pass over file only)\n"
     "                    -protectdot (protect .XX lines with \\& prefix)\n"
	   "                    -removeblank (remove blank lines and leading spaces)\n"
	   "                    -roff (expand t/nroff commands)\n"
     "                    -tableofcontents (handle toc entries, make toc)\n"
    "The internal label tags in yodl's output file are scanned and fixed.\n"
	   "This program shouldn't be run by hand, but e.g. from the yodl2html script.\n"
	   "Inputfile must exist, outputfile may be \"-\" for stdout.\n"
	   "\n");

  exit (1);
}
