diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2005-01-22 10:21:27 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2005-01-22 10:21:27 +0000 |
commit | b129183289440c2b418f3920a8f8fbef7bacafd7 (patch) | |
tree | cdce49c770c02c34aa9a08b7e1d13b45acc3fde7 | |
parent | 89dd9808ad23fa5aa012ef977cce8e4b037524a6 (diff) |
add an exit command as an alias of quit; ok henning@
-rw-r--r-- | usr.bin/cdio/cdio.1 | 5 | ||||
-rw-r--r-- | usr.bin/cdio/cdio.c | 3 |
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} }; |