bug-cfengine
[Top][All Lists]
Advanced

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

cfshow version 2.2.0, no -p option


From: Bas van der Vlies
Subject: cfshow version 2.2.0, no -p option
Date: Tue, 01 May 2007 10:58:12 +0200
User-agent: Thunderbird 1.5.0.10 (X11/20070403)

Just a simple bug cfshow does not recognize the '-p' option (--performance). Patch included.

--- cfshow.c.org        2007-03-02 19:46:33.000000000 +0100
+++ cfshow.c    2007-05-01 10:48:41.409249672 +0200
@@ -82,7 +82,7 @@
   int optindex = 0;
   int c;

-while ((c=getopt_long(argc,argv,"hdvaVlsc",CFDOPTIONS,&optindex)) != EOF)
+while ((c=getopt_long(argc,argv,"hdvaVlscp",CFDOPTIONS,&optindex)) != EOF)
   {
   switch ((char) c)
       {

--
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: address@hidden      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************




reply via email to

[Prev in Thread] Current Thread [Next in Thread]