summaryrefslogtreecommitdiff
path: root/cmdline/apt-cache.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:52:08 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:52:08 +0000
commit3d615484858169e6732ef4f236fd3f38d0083a89 (patch)
treeaf17b8d0fd6f7b95e5298598d3ceb8dba3ac3f42 /cmdline/apt-cache.cc
parentf1663bdf8391e09939e88f070171ed3fe3ab2cbd (diff)
More bugs fixes
Author: jgg Date: 1998-12-10 04:22:45 GMT More bugs fixes
Diffstat (limited to 'cmdline/apt-cache.cc')
-rw-r--r--cmdline/apt-cache.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index b20227153..429c36a3d 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-cache.cc,v 1.16 1998/12/07 00:34:22 jgg Exp $
+// $Id: apt-cache.cc,v 1.17 1998/12/10 04:22:48 jgg Exp $
/* ######################################################################
apt-cache - Manages the cache files
@@ -500,6 +500,12 @@ int main(int argc,const char *argv[])
{
if (strcmp(CmdL.FileList[0],"add") == 0)
{
+ ShowHelp();
+ break;
+ }
+
+ if (strcmp(CmdL.FileList[0],"add") == 0)
+ {
DoAdd(CmdL);
break;
}