[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#203418: Trivial patch to solve this small issue



Hello folks,

I'm sending one patch to solve this small issue. Please apply.

TIA,
Otavio
Index: cmdline/apt-cache.cc
===================================================================
RCS file: /cvs/deity/apt/cmdline/apt-cache.cc,v
retrieving revision 1.65
diff -u -r1.65 apt-cache.cc
--- cmdline/apt-cache.cc	22 Jul 2003 03:10:01 -0000	1.65
+++ cmdline/apt-cache.cc	1 Aug 2003 01:27:51 -0000
@@ -1581,6 +1581,9 @@
    ioprintf(cout,_("%s %s for %s %s compiled on %s %s\n"),PACKAGE,VERSION,
 	    COMMON_OS,COMMON_CPU,__DATE__,__TIME__);
    
+   if (_config->FindB("version") == true)
+     return true;
+
    cout << 
     _("Usage: apt-cache [options] command\n"
       "       apt-cache [options] add file1 [file2 ...]\n"
-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio@debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------

Reply to: