summaryrefslogtreecommitdiff
path: root/src/tool_getparam.h
Commit message (Collapse)AuthorAgeFilesLines
* tool: fix remaining -Wcast-qual warningsMarcel Raad2017-05-091-1/+1
| | | | Avoid casting away low-level const.
* curl: non-boolean command line args reject --no- prefixesDaniel Stenberg2017-05-021-1/+2
| | | | | | | | ... and instead properly respond with an error message to the user instead of silently ignoring. Fixes #1453 Closes #1458
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* CURLOPT_DEFAULT_PROTOCOL: addedNathaniel Waisbrot2015-08-221-0/+1
| | | | | | | | | | | | | | | - Add new option CURLOPT_DEFAULT_PROTOCOL to allow specifying a default protocol for schemeless URLs. - Add new tool option --proto-default to expose CURLOPT_DEFAULT_PROTOCOL. In the case of schemeless URLs libcurl will behave in this way: When the option is used libcurl will use the supplied default. When the option is not used, libcurl will follow its usual plan of guessing from the hostname and falling back to 'http'.
* tool_getparam: Added initial support for --next/-:Steve Holme2014-02-261-0/+1
| | | | | | Added initial support for --next/-: which will be used to replace the rather confusing : command line operation what was used for the URL specific options prototype.
* tool_getparam: Added global config to getparameter()Steve Holme2014-02-251-4/+3
| | | | | In preparation for parsing global options added the GlobalConfig structure to the getparameter() function.
* tool_getparam.h: Fixed compilation warningSteve Holme2014-02-251-0/+1
| | | | | warning: declaration of 'struct GlobalConfig' will not be visible outside of this function
* tool_main: Moved easy handle into global config structureSteve Holme2014-02-241-1/+1
|
* tool_cfgable: Renamed Configurable structure to OperationConfigSteve Holme2014-02-231-3/+3
| | | | | To allow for the addition of a global config structure and prevent confusion between the two.
* tool_getparam: Moved hugehelp() call into operate()Steve Holme2014-02-231-0/+1
|
* tool_getparam: Moved tool_version_info() call into operate()Steve Holme2014-02-231-0/+1
|
* tool_cfgable: Removed list_engine flag from config structureSteve Holme2014-02-221-0/+1
| | | | | | In preparation for separating the global config options from the per operation config options, reworked the list engines code to not use a member variable in the Configurable structure.
* tool_operate: Moved command line argument parsing into separate functionSteve Holme2014-02-031-1/+4
|
* unit1394.c: plug the curl tool unit test inKamil Dudka2013-05-061-0/+6
|
* avoid mixing of enumerated type with another typeYang Tse2012-11-261-1/+1
|
* cmdline: parse numerical options stricterDaniel Stenberg2012-07-101-0/+1
| | | | | | | | | | | 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
* tool_getparam.h: fix compiler errorDaniel Stenberg2012-06-081-0/+2
| | | | forward declare the Configurable struct
* 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: code moved to tool_*.[ch] filesYang Tse2011-10-051-0/+46