1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
From: =?utf-8?q?Piotr_O=C5=BCarowski?= <piotr@debian.org>
Date: Mon, 31 Dec 2018 12:29:53 +0100
Subject: add -g parameter to pygmentize man page
---
doc/pygmentize.1 | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/doc/pygmentize.1 b/doc/pygmentize.1
index 71bb6f9..f94a881 100644
--- a/doc/pygmentize.1
+++ b/doc/pygmentize.1
@@ -1,11 +1,11 @@
-.TH PYGMENTIZE 1 "February 15, 2007"
+.TH PYGMENTIZE 1 "December 9, 2015"
.SH NAME
pygmentize \- highlights the input file
.SH SYNOPSIS
.B \fBpygmentize\fP
-.RI [-l\ \fI<lexer>\fP]\ [-F\ \fI<filter>\fP[:\fI<options>\fP]]\ [-f\ \fI<formatter>\fP]
+.RI [-l\ \fI<lexer>\fP\ |\ -g]\ [-F\ \fI<filter>\fP[:\fI<options>\fP]]\ [-f\ \fI<formatter>\fP]
.RI [-O\ \fI<options>\fP]\ [-P\ \fI<option=value>\fP]\ [-o\ \fI<outfile>\fP]\ [\fI<infile>\fP]
.br
.B \fBpygmentize\fP
@@ -42,6 +42,10 @@ A summary of options is included below.
Set the lexer name. If not given, the lexer is guessed from the extension of the
input file name (this obviously doesn't work if the input is stdin).
.TP
+.B \-g
+Attempt to guess the lexer from the file contents, or pass through as
+plain text if this fails (this can work for stdin).
+.TP
.B \-F \fI<filter>\fP[:\fI<options>\fP]
Add a filter to the token stream. You can give options in the same way as for
-O after a colon (note: there must not be spaces around the colon).
|