From: Harlan Stenn Date: Wed, 16 May 2007 04:49:12 +0000 (-0400) Subject: [Bug 817] Use longnames for setting ntp variables on the command-line X-Git-Tag: NTP_4_2_5P34~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=742ca922f31908d421f3bb9ec4af26b99103af0c;p=thirdparty%2Fntp.git [Bug 817] Use longnames for setting ntp variables on the command-line bk: 464a8d48iPIg3kg14tA-AqRNW_tKFA --- diff --git a/ChangeLog b/ChangeLog index 82587648c..06db357f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +* [Bug 817] Use longnames for setting ntp variables on the command-line; + Allowing '-v' with and without an arg to disambiguate usage + is error-prone. * [Bug 822] set progname once, early. * [Bug 819] remove erroneous #if 0 in Windows completion port code. * The new config code missed an #ifdef for building without refclocks. diff --git a/NEWS b/NEWS index 22a6c24ad..c9fdc31af 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +Backward-Incomatible changes: + +ntpd no longer accepts '-v name' or '-V name' to define internal variables. +Use '--var name' or '--dvar name' instead. (Bug 817) +--- NTP 4.2.4 (Harlan Stenn , 2006/12/31) Focus: enhancements and bug fixes. diff --git a/ntpd/ntpdbase-opts.def b/ntpd/ntpdbase-opts.def index 6c80e7abd..a51d30e3a 100644 --- a/ntpd/ntpdbase-opts.def +++ b/ntpd/ntpdbase-opts.def @@ -393,7 +393,7 @@ flag = { flag = { name = var; - value = v; +/* value = v; Bug 817 */ arg-type = string; descrip = "make ARG an ntp variable (RW)"; max = NOLIMIT; @@ -405,7 +405,7 @@ flag = { flag = { name = dvar; - value = V; +/* value = V; Bug 817 */ arg-type = string; descrip = "make ARG an ntp variable (RW|DEF)"; max = NOLIMIT;