head: Fix usage and manpage

-N is not a flag but rather a number specification.  Be consistent
and use -num to be consistent with -n num.  num is properly highlighted
now as well.
This commit is contained in:
sin
2015-03-05 08:10:00 +00:00
parent 796b85a297
commit 68ccf5c0eb
2 changed files with 7 additions and 10 deletions

2
head.c
View File

@@ -24,7 +24,7 @@ head(FILE *fp, const char *fname, size_t n)
static void
usage(void)
{
eprintf("usage: %s [-n num] [-N] [file ...]\n", argv0);
eprintf("usage: %s [-num | -n num] [file ...]\n", argv0);
}
int