summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/cdio/cdio.15
-rw-r--r--usr.bin/cdio/cdio.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/cdio/cdio.1 b/usr.bin/cdio/cdio.1
index 334fa43b47b..73c6d6031a3 100644
--- a/usr.bin/cdio/cdio.1
+++ b/usr.bin/cdio/cdio.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cdio.1,v 1.29 2004/07/30 12:30:33 jmc Exp $
+.\" $OpenBSD: cdio.1,v 1.30 2005/01/22 10:21:26 robert Exp $
.\"
.\" Copyright (c) 1995 Serge V. Vakulenko
.\" All rights reserved.
@@ -116,6 +116,9 @@ This is the equivalent of quitting
and restarting with a different device.
.It Ic eject
Eject the disc.
+.It Ic exit
+A synonym for
+.Ic quit .
.It Ic help
Print the list of available commands.
.It Ic info
diff --git a/usr.bin/cdio/cdio.c b/usr.bin/cdio/cdio.c
index 7e8e46cc9cf..9a5c4061ff5 100644
--- a/usr.bin/cdio/cdio.c
+++ b/usr.bin/cdio/cdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdio.c,v 1.38 2005/01/09 11:02:32 alek Exp $ */
+/* $OpenBSD: cdio.c,v 1.39 2005/01/22 10:21:26 robert Exp $ */
/* Copyright (c) 1995 Serge V. Vakulenko
* All rights reserved.
@@ -132,6 +132,7 @@ struct cmdtab {
{ CMD_VOLUME, "volume", 1, "<l> <r> | left | right | mute | mono | stereo" },
{ CMD_CDDB, "cddbinfo", 2, "[n]" },
{ CMD_CDID, "cdid", 3, "" },
+{ CMD_QUIT, "exit", 1, "" },
{ 0, 0, 0, 0}
};