From bb361298a56fc2cd552b45d4cdfc4db852012919 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Fri, 13 Oct 2006 16:22:25 +0000 Subject: [PATCH] Document that unexpand(1)'s -a and -t options are exclusive. PR: docs/85063 --- usr.bin/expand/expand.1 | 5 ++--- usr.bin/unexpand/unexpand.c | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/usr.bin/expand/expand.1 b/usr.bin/expand/expand.1 index 263017cc26d3..0ca6dcb38d75 100644 --- a/usr.bin/expand/expand.1 +++ b/usr.bin/expand/expand.1 @@ -32,7 +32,7 @@ .\" @(#)expand.1 8.1 (Berkeley) 6/9/93 .\" $FreeBSD$ .\" -.Dd April 21, 2002 +.Dd October 13, 2006 .Dt EXPAND 1 .Os .Sh NAME @@ -49,9 +49,8 @@ .Oc .Op Ar .Nm unexpand -.Op Fl a .Oo -.Fl t +.Fl a | t .Sm off .Ar tab1 , tab2 , ... , tabn .Sm on diff --git a/usr.bin/unexpand/unexpand.c b/usr.bin/unexpand/unexpand.c index 10b54eeb26d3..d59cd4ef8c7a 100644 --- a/usr.bin/unexpand/unexpand.c +++ b/usr.bin/unexpand/unexpand.c @@ -112,7 +112,7 @@ main(int argc, char *argv[]) static void usage(void) { - fprintf(stderr, "usage: unexpand [-a] [-t tablist] [file ...]\n"); + fprintf(stderr, "usage: unexpand [-a | -t tablist] [file ...]\n"); exit(1); }