From 8f06358951515e779a444523ddfe3dc9ab30154f Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Mon, 10 Oct 2011 13:16:57 +0200 Subject: Added a manual page. --- Jamroot | 5 ++++- mppdown.1 | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 mppdown.1 diff --git a/Jamroot b/Jamroot index 4c7508e..5323dcd 100644 --- a/Jamroot +++ b/Jamroot @@ -4,4 +4,7 @@ local DIST = [ os.environ DIST ] ; exe mppdown : [ glob-tree *.cpp ] : -lboost_program_options ; -install dist : mppdown : $(DIST)/usr/bin : release ; +alias dist : bin man ; + +install bin : mppdown : $(DIST)/usr/bin : release ; +install man : mppdown.1 : $(DIST)/usr/share/man/man1 ; diff --git a/mppdown.1 b/mppdown.1 new file mode 100644 index 0000000..8dbfdb6 --- /dev/null +++ b/mppdown.1 @@ -0,0 +1,32 @@ +.Dd Oct 22, 2011 +.Dt MPPDOWN 1 1 +.Sh NAME +.Nm mppdown +.Nd C++ implementation of the mdown2 specification +.Sh SYNOPSIS +.Nm +.Op Fl h +.Op Fl o Ar output +.Op Ar input +.Sh DESCRIPTION +.Nm mppdown +is a C++ program that reads an +.Ar input +file written in the mdown2 format and that returns a LaTeX-formatted +output file on the standard output or +.Ar output +if specified. +.Pp +Its arguments are: +.Bl -tag -width Ds +.It Fl h +Displays a help message. +.It Fl o Ar output +Writes to +.Ar output +instead of standard output. +.It Ar input +The input file to read. +.El +.Sh EXIT STATUS +.Ex -std -- cgit v1.2.3-70-g09d2