From f2a9e366299932cc0246b43be1f8ab5dbb7c8e41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 15 Sep 2004 19:03:35 +0000 Subject: [PATCH] My fingers keep typing 'burncd data foo fixate eject' instead of 'burncd -e data foo fixate'. Humor them. MFC after: 4 weeks --- usr.sbin/burncd/burncd.8 | 9 +++++++-- usr.sbin/burncd/burncd.c | 4 ++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/usr.sbin/burncd/burncd.8 b/usr.sbin/burncd/burncd.8 index 44bec39f04c..010d6eff644 100644 --- a/usr.sbin/burncd/burncd.8 +++ b/usr.sbin/burncd/burncd.8 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 18, 2002 +.Dd September 15, 2004 .Os .Dt BURNCD 8 .Sh NAME @@ -51,7 +51,7 @@ Available options and operands: .It Fl d burn the CD-R/RW in DAO (disk at once) mode. .It Fl e -eject the media when done. +eject the medium when done. .It Fl f Ar device set the device to use for the burning process. .It Fl F @@ -92,6 +92,11 @@ switch when adding additional data to ISO file systems with extra sessions. Blank a CD-RW medium. This uses the fast blanking method, so data are not physically overwritten, only those areas that make the media appear blank for further usage are erased. +.It Cm eject +Eject the medium when done. +This is equivalent to the +.Fl e +option. .It Cm erase Erase a CD-RW medium. This erases the entire media. diff --git a/usr.sbin/burncd/burncd.c b/usr.sbin/burncd/burncd.c index 75596091c94..e6eb51609d4 100644 --- a/usr.sbin/burncd/burncd.c +++ b/usr.sbin/burncd/burncd.c @@ -163,6 +163,10 @@ main(int argc, char **argv) fixate = 1; break; } + if (!strcasecmp(argv[arg], "eject")) { + eject = 1; + break; + } if (!strcasecmp(argv[arg], "msinfo")) { struct ioc_read_toc_single_entry entry; struct ioc_toc_header header;