summaryrefslogtreecommitdiff
path: root/sbin/atactl
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-10-02 19:30:20 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-10-02 19:30:20 +0000
commit36c3814ef1e89515aa7823fc08c67db4acc7a4b4 (patch)
tree201233d5de69465dcc26ca47188a62ca1a2da5a8 /sbin/atactl
parentc9142000c8a468c1ede0c2d9c04d5fe40d7dc48c (diff)
simplify SYNOPSIS and sync usage();
Diffstat (limited to 'sbin/atactl')
-rw-r--r--sbin/atactl/atactl.88
-rw-r--r--sbin/atactl/atactl.c4
2 files changed, 4 insertions, 8 deletions
diff --git a/sbin/atactl/atactl.8 b/sbin/atactl/atactl.8
index 7d8dab15207..452e941573b 100644
--- a/sbin/atactl/atactl.8
+++ b/sbin/atactl/atactl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: atactl.8,v 1.28 2005/03/28 18:52:38 kurt Exp $
+.\" $OpenBSD: atactl.8,v 1.29 2006/10/02 19:30:19 jmc Exp $
.\" $NetBSD: atactl.8,v 1.5 1999/02/24 18:49:14 jwise Exp $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -44,11 +44,7 @@
.Sh SYNOPSIS
.Nm atactl
.Ar device
-.Ar command
-.Oo
-.Ar arg Oo ...
-.Oc
-.Oc
+.Op Ar command Op Ar arg
.Sh DESCRIPTION
.Nm
allows a user or system administrator to issue commands to and otherwise
diff --git a/sbin/atactl/atactl.c b/sbin/atactl/atactl.c
index 5f1aadc1cf9..602b2f8f04a 100644
--- a/sbin/atactl/atactl.c
+++ b/sbin/atactl/atactl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atactl.c,v 1.36 2006/05/27 21:19:33 moritz Exp $ */
+/* $OpenBSD: atactl.c,v 1.37 2006/10/02 19:30:19 jmc Exp $ */
/* $NetBSD: atactl.c,v 1.4 1999/02/24 18:49:14 jwise Exp $ */
/*-
@@ -384,7 +384,7 @@ __dead void
usage(void)
{
- fprintf(stderr, "usage: %s <device> <command> [arg [...]]\n",
+ fprintf(stderr, "usage: %s <device> [command [arg]]\n",
__progname);
exit(1);
}