summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-01-27 16:07:08 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-01-27 16:07:08 +0100
commit7803558c3a48163ee6d9e2022b593c23e29004c3 (patch)
tree67d140d194254d09178b22530e0206b95cd70168
parent39b4b76cbfc378d240eb30caaa102b0ca51fad3f (diff)
parent470221bb9975902d68dbeb068f394b77d1b0af46 (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},