diff options
author | charnier <charnier@FreeBSD.org> | 2001-12-12 18:25:53 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2001-12-12 18:25:53 +0000 |
commit | a5cd3299b75ca8f871d433a5fb1b53d7605acac8 (patch) | |
tree | 95a82d20db6bb5315e6381c350a3578911591ae8 /usr.bin/fold | |
parent | f6879ce93c9a5c8085927875bd4f0961a79d0cfb (diff) | |
download | FreeBSD-src-a5cd3299b75ca8f871d433a5fb1b53d7605acac8.zip FreeBSD-src-a5cd3299b75ca8f871d433a5fb1b53d7605acac8.tar.gz |
Make clear that -w gets an argument. Add __FBSDID and remove unused
#include
Diffstat (limited to 'usr.bin/fold')
-rw-r--r-- | usr.bin/fold/fold.1 | 6 | ||||
-rw-r--r-- | usr.bin/fold/fold.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/fold/fold.1 b/usr.bin/fold/fold.1 index f9f774d..63a52f2 100644 --- a/usr.bin/fold/fold.1 +++ b/usr.bin/fold/fold.1 @@ -48,10 +48,10 @@ is a filter which folds the contents of the specified files, or the standard input if no files are specified, breaking the lines to have a maximum of 80 characters. .Pp -The options are as follows: +The following option is available: .Bl -tag -width indent -.It Fl w -Specifies a line width to use instead of the default 80 characters. +.It Fl w Ar width +Specify a line width to use instead of the default 80 characters. .Ar Width should be a multiple of 8 if tabs are present, or the tabs should be expanded using diff --git a/usr.bin/fold/fold.c b/usr.bin/fold/fold.c index e402ae5..48f6c72 100644 --- a/usr.bin/fold/fold.c +++ b/usr.bin/fold/fold.c @@ -44,14 +44,14 @@ static const char copyright[] = #if 0 static char sccsid[] = "@(#)fold.c 8.1 (Berkeley) 6/6/93"; #endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <err.h> #include <stdio.h> #include <stdlib.h> -#include <string.h> #include <unistd.h> #define DEFLINEWIDTH 80 |