diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-18 08:34:39 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-18 08:34:39 +0000 |
commit | 2adb1e5113b9642c98138e70bfb24a71a1fc95b6 (patch) | |
tree | 727d518659f6518265e43d589da78b9e4900900f /usr.sbin | |
parent | 0a80b688fa7c1ec8a6bc7b2402c7a0bf9fe4f2ee (diff) |
simplify synopsis/usage; mostly from Igor Sobrado
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/amd/amq/amq.8 | 11 | ||||
-rw-r--r-- | usr.sbin/amd/amq/amq.c | 10 |
2 files changed, 7 insertions, 14 deletions
diff --git a/usr.sbin/amd/amq/amq.8 b/usr.sbin/amd/amq/amq.8 index dfb84089752..baa9b07f26d 100644 --- a/usr.sbin/amd/amq/amq.8 +++ b/usr.sbin/amd/amq/amq.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: amq.8,v 1.10 2003/06/12 12:59:49 jmc Exp $ +.\" $OpenBSD: amq.8,v 1.11 2007/02/18 08:34:38 jmc Exp $ .\" .\" Copyright (c) 1990 Jan-Simon Pendry .\" Copyright (c) 1990 Imperial College of Science, Technology & Medicine @@ -42,15 +42,10 @@ .Nd automounter query tool .Sh SYNOPSIS .Nm amq -.Op Fl f +.Op Fl fmsuv .Op Fl h Ar hostname .\".Op Fl M Ar mountmap_entry -.Op Fl m -.Op Fl s -.Op Fl u -.Op Fl v -.Op Ar directory -.Ar ... +.Op Ar directory ... .Sh DESCRIPTION .Nm amq provides a simple way of determining the current state of the diff --git a/usr.sbin/amd/amq/amq.c b/usr.sbin/amd/amq/amq.c index 3fd6bf7cbcd..befac15f7db 100644 --- a/usr.sbin/amd/amq/amq.c +++ b/usr.sbin/amd/amq/amq.c @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * from: @(#)amq.c 8.1 (Berkeley) 6/7/93 - * $Id: amq.c,v 1.11 2003/06/02 23:36:51 millert Exp $ + * $Id: amq.c,v 1.12 2007/02/18 08:34:38 jmc Exp $ */ /* @@ -48,7 +48,7 @@ char copyright[] = "\ #endif /* not lint */ #ifndef lint -static char rcsid[] = "$Id: amq.c,v 1.11 2003/06/02 23:36:51 millert Exp $"; +static char rcsid[] = "$Id: amq.c,v 1.12 2007/02/18 08:34:38 jmc Exp $"; static char sccsid[] = "@(#)amq.c 8.1 (Berkeley) 6/7/93"; #endif /* not lint */ @@ -313,10 +313,8 @@ main(int argc, char *argv[]) if (errs) { show_usage: - fprintf(stderr, "usage: %s [-h host] [[-f] [-m] [-v] [-s]]" - " | [[-u] directory ...]] |\n" - "\t[-l logfile|\"syslog\"] [-x log_flags] " - "[-D dbg_opts] [-M mapent]\n", __progname); + fprintf(stderr, "usage: %s [-fmsuv] [-h hostname] " + "[directory ...]\n", __progname); exit(1); } |