diff options
author | ru <ru@FreeBSD.org> | 2011-03-09 17:07:36 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2011-03-09 17:07:36 +0000 |
commit | 23b678467d3c13550b83748f55274f9b067b2e94 (patch) | |
tree | 3f87f446ba02415a7c1a72247335d39d985c7e1a | |
parent | a023421583e2b662f1853031794f5f9eaeb069fb (diff) | |
download | FreeBSD-src-23b678467d3c13550b83748f55274f9b067b2e94.zip FreeBSD-src-23b678467d3c13550b83748f55274f9b067b2e94.tar.gz |
Sync manpage's SYNOPSIS with program's usage.
-rw-r--r-- | usr.sbin/newsyslog/newsyslog.8 | 5 | ||||
-rw-r--r-- | usr.sbin/newsyslog/newsyslog.c | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.8 b/usr.sbin/newsyslog/newsyslog.8 index d7dae49..0e727e8 100644 --- a/usr.sbin/newsyslog/newsyslog.8 +++ b/usr.sbin/newsyslog/newsyslog.8 @@ -26,13 +26,12 @@ .Sh SYNOPSIS .Nm .Op Fl CFNPnrsv -.Op Fl R Ar tagname -.Op Fl S Ar pidfile .Op Fl a Ar directory .Op Fl d Ar directory .Op Fl f Ar config_file +.Op Fl S Ar pidfile .Op Fl t Ar timefmt -.Op Ar +.Op Oo Fl R Ar tagname Oc Ar .Sh DESCRIPTION The .Nm diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c index a373c81..d3685cb 100644 --- a/usr.sbin/newsyslog/newsyslog.c +++ b/usr.sbin/newsyslog/newsyslog.c @@ -775,8 +775,8 @@ usage(void) { fprintf(stderr, - "usage: newsyslog [-CFNnrsv] [-a directory] [-d directory] [-f config-file]\n" - " [-S pidfile] [-t timefmt ] [ [-R requestor] filename ... ]\n"); + "usage: newsyslog [-CFNPnrsv] [-a directory] [-d directory] [-f config_file]\n" + " [-S pidfile] [-t timefmt] [[-R tagname] file ...]\n"); exit(1); } |