summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/cmndline.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:11 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:11 +0000
commit0d47bd084abcb2739c60ce56f2ece2c5a05e7f31 (patch)
tree8cc5c8d72171c44385f0d53b192fe10e60d5fcf7 /apt-pkg/contrib/cmndline.h
parentc88edf1d276eb4e01b92835163bdd8574ded93db (diff)
Fixed long option parsing
Author: jgg Date: 1998-10-24 20:14:34 GMT Fixed long option parsing
Diffstat (limited to 'apt-pkg/contrib/cmndline.h')
-rw-r--r--apt-pkg/contrib/cmndline.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/apt-pkg/contrib/cmndline.h b/apt-pkg/contrib/cmndline.h
index 27f69729c..f502dfeb6 100644
--- a/apt-pkg/contrib/cmndline.h
+++ b/apt-pkg/contrib/cmndline.h
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: cmndline.h,v 1.2 1998/09/26 05:34:25 jgg Exp $
+// $Id: cmndline.h,v 1.3 1998/10/24 20:14:35 jgg Exp $
/* ######################################################################
Command Line Class - Sophisticated command line parser
@@ -57,8 +57,9 @@ class CommandLine
Args *ArgList;
Configuration *Conf;
- bool HandleOpt(int &I,int argc,const char *argv[],const char *&Opt,Args *A);
-
+ bool HandleOpt(int &I,int argc,const char *argv[],
+ const char *&Opt,Args *A,bool PreceedeMatch = false);
+
public:
enum AFlags