commit | a07435d3e3dfee3e4d8998baa7fadbfaf46f764d | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Fri Dec 05 09:23:14 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Fri Dec 05 09:23:14 2008 +0000 |
tree | 1c749e787fde8e79d694630fcf18679835613d1a | |
parent | 8d6c49047f2725ebb67212689e7eef2388dfbcdc [diff] [blame] |
#4458: recognize "-" as an argument, not a malformed option in gnu_getopt().
diff --git a/Misc/NEWS b/Misc/NEWS index 55e123b..b1fe2e4 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -60,6 +60,9 @@ Library ------- +- Issue #4458: getopt.gnu_getopt() now recognizes a single "-" as an argument, + not a malformed option. + - Added the subprocess.check_output() convenience function to get output from a subprocess on success or raise an exception on error.