summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2010-01-27 16:07:21 +0100
committerMichael Vogt <mvo@debian.org>2010-01-27 16:07:21 +0100
commit8f8284dbbc706464b023401bf0f5db0b14e5dd6a (patch)
tree3ccb85adefa2a7b7e41e9e161b95c8369ec9573d
parent93adae194b5db00e3afb8fe89b907eed9df28763 (diff)
merged from lp:~mvo/apt/mvo
-rw-r--r--cmdline/apt-cdrom.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc
index 988a58f20..0c9aab28c 100644
--- a/cmdline/apt-cdrom.cc
+++ b/cmdline/apt-cdrom.cc
@@ -217,6 +217,7 @@ int ShowHelp()
" -m No mounting\n"
" -f Fast mode, don't check package files\n"
" -a Thorough scan mode\n"
+ " --auto-detect Auto detect drive and mount point\n"
" -c=? Read this configuration file\n"
" -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp\n"
"See fstab(5)\n";
@@ -227,7 +228,7 @@ int main(int argc,const char *argv[]) /*{{{*/
{
CommandLine::Args Args[] = {
{'h',"help","help",0},
- {'a',"auto-detect","Acquire::cdrom::AutoDetect",0},
+ { 0,"auto-detect","Acquire::cdrom::AutoDetect",0},
{'v',"version","version",0},
{'d',"cdrom","Acquire::cdrom::mount",CommandLine::HasArg},
{'r',"rename","APT::CDROM::Rename",0},