aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/col
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-05-11 23:53:46 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-05-11 23:53:46 +0000
commit43d665c0d143b6b82163b8648b487fa0c65c3d4e (patch)
treec72ad4c7e87bd2038eb660e7ea86032d04f2272f /usr.bin/col
parent1efb92b7ca6c59b534c74037436a015bbc82b963 (diff)
downloadsrc-43d665c0d143b6b82163b8648b487fa0c65c3d4e.tar.gz
src-43d665c0d143b6b82163b8648b487fa0c65c3d4e.zip
Document the -h option.
Notes
Notes: svn path=/head/; revision=76495
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 e6a0c1db04ed..4576e77aa469 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 0d78d70b1310..dfa15afb57ef 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);
}