summaryrefslogtreecommitdiff
path: root/src/tool_paramhlp.c
Commit message (Collapse)AuthorAgeFilesLines
* avoid mixing of enumerated type with another typeYang Tse2012-11-261-9/+9
|
* cmdline: parse numerical options stricterDaniel Stenberg2012-07-101-11/+35
| | | | | | | | | | | 1 - str2offset() no longer accepts negative numbers since offsets are by nature positive. 2 - introduced str2unum() for the command line parser that accepts numericals which are not supposed to be negative, so that it will properly complain on apparent bad uses and mistakes. Bug: http://curl.haxx.se/mail/archive-2012-07/0013.html
* curl tool: make curl.h first header included in tool_setup.hYang Tse2012-04-081-2/+0
|
* curl tool: use configuration files from lib directoryYang Tse2012-04-061-2/+2
| | | | | | | | | | | Configuration files such as curl_config.h and all config-*.h no longer exist nor are generated/copied into 'src' directory, now these only exist in 'lib' directory from where curl tool sources uses them. Additionally old src/setup.h has been refactored into src/tool_setup.h which now pulls lib/setup.h The possibility of a makefile needing an include path adjustment exists.
* curl tool: allow negative numbers as option valuesAlessandro Ghedini2012-02-131-3/+1
| | | | | | Fix the str2num() function to not check if the input string starts with a digit, since strtol() supports numbers prepended with '-' (and '+') too. This makes the --max-redirs option work as documented.
* curl tool: reviewed code moved to tool_*.[ch] filesYang Tse2011-10-061-3/+2
|
* curl tool: OOM handling fixesYang Tse2011-10-051-17/+21
|
* curl tool: code moved to tool_*.[ch] filesYang Tse2011-10-051-0/+384