From 0d47bd084abcb2739c60ce56f2ece2c5a05e7f31 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:51:11 +0000 Subject: Fixed long option parsing Author: jgg Date: 1998-10-24 20:14:34 GMT Fixed long option parsing --- apt-pkg/contrib/cmndline.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'apt-pkg/contrib/cmndline.h') 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 -- cgit v1.2.3