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

Minor fix for command line options



Whilst playing with wml today I came across the following - whilst the
wml usage info says that the safe mode can be used by giving -s or --safe,
the getopts function is told that the options are -s or -speedup. The following
patch, against the current CVS tree, fixes this,

*** wml.src-ORIG        Fri Jul 16 15:52:16 1999
--- wml.src     Fri Jul 16 15:52:34 1999
***************
*** 129,135 ****
          "p|pass=s@",
          "W|passoption=s@",
          "M|depend:s" ,
!         "s|speedup",
          "v|verbose:i",
          "q|quiet",
          "V|version:i",
--- 129,135 ----
          "p|pass=s@",
          "W|passoption=s@",
          "M|depend:s" ,
!         "s|safe",
          "v|verbose:i",
          "q|quiet",
          "V|version:i",

-- 
Simon the stressed       http://www.bpfh.net/       simes@bpfh.net
 "So, I'm in the UK, but not a part of a UK group; my boss is in
  France and his boss is just up the corridor ? Oh joys"
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com