]> granicus.if.org Git - curl/commitdiff
numerical options check
authorDaniel Stenberg <daniel@haxx.se>
Fri, 31 Oct 2003 09:27:15 +0000 (09:27 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 31 Oct 2003 09:27:15 +0000 (09:27 +0000)
CHANGES

diff --git a/CHANGES b/CHANGES
index 61d0c8ab43f5503868fa1dac839aa1600c8fcdd1..ccbd341169b5ee94ec8b3453a7e58cd56d761382 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -7,6 +7,14 @@
                                   Changelog
 
 
+Daniel (31 October)
+- Command line options that take numerical parameters (such as -y, -Y, -C etc)
+  now reports error and exits if the parameter isn't truly a number greater
+  than or equal to zero. This helps the user to notice bad usage
+  earlier. Before, when the user forgot or missed to add a numerical parameter
+  to an option, the command line parser would simply "eat" the following
+  option and it would cause great confusion.
+
 Daniel (30 October)
 - David Hull made libcurl deal with NOBODY and HEADER for file:// the same way
   it already does for FTP: it provides HTTP-looking headers that provide info