[Git][NTPsec/ntpsec][master] ntpkeygen: the unused -M option never took an argument.

Gary E. Miller gitlab at mg.gitlab.com
Thu Jan 5 00:35:25 UTC 2017


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
c26d0602 by Gary E. Miller at 2017-01-04T16:34:26-08:00
ntpkeygen: the unused -M option never took an argument.

If we are going to be back compatible, we need to be back compatible.

- - - - -


1 changed file:

- ntpclients/ntpkeygen


Changes:

=====================================
ntpclients/ntpkeygen
=====================================
--- a/ntpclients/ntpkeygen
+++ b/ntpclients/ntpkeygen
@@ -75,7 +75,7 @@ def fheader(file,       # file name id
 
 if __name__ == '__main__':
     try:
-        (options, arguments) = getopt.getopt(sys.argv[1:], "hM:", ["help"])
+        (options, arguments) = getopt.getopt(sys.argv[1:], "hM", ["help"])
     except getopt.GetoptError as e:
         print(e)
         raise SystemExit(1)



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/c26d060285fc17da5640ad06c19b872bc3d24f78
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170105/658f35df/attachment.html>


More information about the vc mailing list