summaryrefslogtreecommitdiff
path: root/doc/docs
diff options
context:
space:
mode:
authorRafael Rossi <rossirafael@yahoo.com>2021-03-11 15:05:59 +0100
committerGitHub <noreply@github.com>2021-03-11 15:05:59 +0100
commitd86dd2bbd07ed880d908aeab2a99af50a64142aa (patch)
treeb0a2f345eb900acc1791fd689d214d18ef3b478b /doc/docs
parentb483399fcb23b93b464365a66008c76ba4563dee (diff)
downloadpygments-git-d86dd2bbd07ed880d908aeab2a99af50a64142aa.tar.gz
Update command to indeed include line numbers (#1745)
Command was not including the line numbers, missing `linenos=1` option.
Diffstat (limited to 'doc/docs')
-rw-r--r--doc/docs/cmdline.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/docs/cmdline.rst b/doc/docs/cmdline.rst
index e4f94ea5..afb02872 100644
--- a/doc/docs/cmdline.rst
+++ b/doc/docs/cmdline.rst
@@ -37,7 +37,7 @@ The above command could therefore also be given as::
To create a full HTML document, including line numbers and stylesheet (using the
"emacs" style), highlighting the Python file ``test.py`` to ``test.html``::
- $ pygmentize -O full,style=emacs -o test.html test.py
+ $ pygmentize -O full,style=emacs,linenos=1 -o test.html test.py
Options and filters