diff --git a/tail.1 b/tail.1 index f3e74c5..05ee3db 100644 --- a/tail.1 +++ b/tail.1 @@ -1,4 +1,4 @@ -.Dd February 9, 2015 +.Dd March 5, 2015 .Dt TAIL 1 .Os sbase .Sh NAME @@ -7,7 +7,7 @@ .Sh SYNOPSIS .Nm .Op Fl f -.Op Fl c Ar num | Fl n Ar num | Fl N +.Op Fl c Ar num | Fl n Ar num | Fl Ns Ar num .Op Ar file ... .Sh DESCRIPTION .Nm @@ -20,11 +20,10 @@ is given, reads from stdin. .Sh OPTIONS .Bl -tag -width Ds -.It Fl c Ar num | Fl n Ar num | Fl N +.It Fl c Ar num | Fl n Ar num | Fl Ns Ar num Display final .Ar num characters | lines | -.Ar N lines. If .Ar num begins with '+' @@ -49,6 +48,6 @@ utility is compliant with the .St -p1003.1-2008 specification. .Pp -The -.Op Fl N -flag is an extension to that specification. +The obsolete +.Op Fl Ns Ar num +syntax is an extension to that specification. diff --git a/tail.c b/tail.c index dc77a68..2711cc9 100644 --- a/tail.c +++ b/tail.c @@ -74,7 +74,7 @@ taketail(FILE *fp, const char *str) static void usage(void) { - eprintf("usage: %s [-f] [-c num | -n num] [file ...]\n", argv0); + eprintf("usage: %s [-f] [-c num | -n num | -num] [file ...]\n", argv0); } int