summaryrefslogtreecommitdiffstats
path: root/usr.bin/col
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-05-11 23:53:46 +0000
committerdd <dd@FreeBSD.org>2001-05-11 23:53:46 +0000
commitf7d244cc07d6518a4ec31d955a31e3fe99b00ea9 (patch)
tree71c5e99e428fc995559bf283fff2e13415a56167 /usr.bin/col
parentc20ad9aee20025e5e02cc318f355e6866e04bef1 (diff)
downloadFreeBSD-src-f7d244cc07d6518a4ec31d955a31e3fe99b00ea9.zip
FreeBSD-src-f7d244cc07d6518a4ec31d955a31e3fe99b00ea9.tar.gz
Document the -h option.
Diffstat (limited to 'usr.bin/col')
-rw-r--r--usr.bin/col/col.14
-rw-r--r--usr.bin/col/col.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/col/col.1 b/usr.bin/col/col.1
index e6a0c1d..4576e77 100644
--- a/usr.bin/col/col.1
+++ b/usr.bin/col/col.1
@@ -43,7 +43,7 @@
.Nd filter reverse line feeds from input
.Sh SYNOPSIS
.Nm
-.Op Fl bfx
+.Op Fl bfhx
.Op Fl l Ar num
.Sh DESCRIPTION
.Nm Col
@@ -67,6 +67,8 @@ written to each column position.
Forward half line feeds are permitted (``fine'' mode).
Normally characters printed on a half line boundary are printed
on the following line.
+.It Fl h
+Don't output multiple spaces instead of tabs (default).
.It Fl x
Output multiple spaces instead of tabs.
.It Fl l Ar num
diff --git a/usr.bin/col/col.c b/usr.bin/col/col.c
index 0d78d70..dfa15af 100644
--- a/usr.bin/col/col.c
+++ b/usr.bin/col/col.c
@@ -530,7 +530,7 @@ void
usage()
{
- (void)fprintf(stderr, "usage: col [-bfx] [-l nline]\n");
+ (void)fprintf(stderr, "usage: col [-bfhx] [-l nline]\n");
exit(1);
}
OpenPOWER on IntegriCloud