From 686ce24e9a67b42765ff5638e1d747c8ea82343d Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 17 Feb 2019 14:38:11 -0500 Subject: Add line numbers to hi Renames previous -n option to -m to stay consistent with cat -n. Prefixing lines with line numbers affects where the first tab indent ends up relative to the text above it. Not sure if it's worth fixing somehow. --- bin/man1/hi.1 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'bin/man1/hi.1') diff --git a/bin/man1/hi.1 b/bin/man1/hi.1 index c48fa796..afe0fe0c 100644 --- a/bin/man1/hi.1 +++ b/bin/man1/hi.1 @@ -1,4 +1,4 @@ -.Dd February 12, 2019 +.Dd February 17, 2019 .Dt HI 1 .Os . @@ -8,9 +8,10 @@ . .Sh SYNOPSIS .Nm +.Op Fl n .Op Fl f Ar format .Op Fl l Ar lang -.Op Fl n Ar name +.Op Fl m Ar name .Op Fl o Ar opts .Op Ar file .Nm @@ -33,9 +34,11 @@ Compile all regular expressions and exit. Set the output format. .It Fl l Ar lang Set the input language. -.It Fl n Ar name +.It Fl m Ar name Override the name used to infer the input language. +.It Fl n +Output line numbers. .It Fl o Ar opts Set output format options. .Ar opts @@ -111,7 +114,7 @@ name. If no input language is set with .Fl l , it may be inferred from the name set by -.Fl n +.Fl m or from the provided .Ar file name. -- cgit 1.4.1