Add "exit" command as a synonym for "quit".
authorChris Pressey <cpressey@dragonflybsd.org>
Tue, 15 Feb 2005 20:23:24 +0000 (20:23 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Tue, 15 Feb 2005 20:23:24 +0000 (20:23 +0000)
Submitted-by: Robert Nagy <robert_at_bsd_dot_hu>
usr.sbin/cdcontrol/cdcontrol.1
usr.sbin/cdcontrol/cdcontrol.c

index 6f59f48..0410f68 100644 (file)
@@ -1,5 +1,5 @@
 .\" $FreeBSD: src/usr.sbin/cdcontrol/cdcontrol.1,v 1.21.2.14 2003/03/12 22:08:13 trhodes Exp $
-.\" $DragonFly: src/usr.sbin/cdcontrol/cdcontrol.1,v 1.2 2003/06/17 04:29:52 dillon Exp $
+.\" $DragonFly: src/usr.sbin/cdcontrol/cdcontrol.1,v 1.3 2005/02/15 20:23:24 cpressey Exp $
 .\"
 .Dd July 3, 1995
 .Dt CDCONTROL 1
@@ -172,6 +172,9 @@ Specify
 to use the drive's fastest speed.
 .It Ic quit
 Quit the program.
+.It Ic exit
+A synonym for
+.Ic quit .
 .El
 .Sh ENVIRONMENT
 The following environment variables affect the execution of
index 75457c0..3f0254e 100644 (file)
@@ -18,7 +18,7 @@
  *              Some code style reformatting.
  *
  * $FreeBSD: src/usr.sbin/cdcontrol/cdcontrol.c,v 1.24.2.11 2002/11/20 00:26:19 njl Exp $
- * $DragonFly: src/usr.sbin/cdcontrol/cdcontrol.c,v 1.6 2004/12/18 22:48:02 swildner Exp $
+ * $DragonFly: src/usr.sbin/cdcontrol/cdcontrol.c,v 1.7 2005/02/15 20:23:24 cpressey Exp $
  */
 
 #include <sys/cdio.h>
@@ -97,6 +97,7 @@ struct cmdtab {
 { CMD_PLAY,    "play",         1, "[#block [len]]" },
 { CMD_PREVIOUS,        "previous",     2, "" },
 { CMD_QUIT,    "quit",         1, "" },
+{ CMD_QUIT,    "exit",         1, "" },
 { CMD_RESET,   "reset",        4, "" },
 { CMD_RESUME,  "resume",       1, "" },
 { CMD_SET,     "set",          2, "msf | lba" },