Jay Satiro
65ca229461
tool_writeout: refactor write-out and write-out json
...
- Deduplicate the logic used by write-out and write-out json.
Rather than have separate writeLong, writeString, etc, logic for
each of write-out and write-out json instead have respective shared
functions that can output either format and a 'use_json' parameter to
indicate whether it is json that is output.
This will make it easier to maintain. Rather than have to go through
two sets of logic now we only have to go through one.
- Support write-out %{errormsg} and %{exitcode} in json.
- Clarify in the doc that %{exitcode} is the exit code of the transfer.
Prior to this change it just said "The numerical exitcode" which
implies it's the exit code of the tool, and it's not necessarily that.
Closes https://github.com/curl/curl/pull/6544
2021-02-09 02:48:27 -05:00
..
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2021-01-30 23:48:22 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-11-04 23:59:47 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-12-21 10:52:41 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-10-03 22:59:50 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-12-03 13:25:42 +01:00
2020-12-03 13:25:42 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-12-29 17:08:41 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-12-07 08:38:05 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2021-01-12 08:12:41 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-11-05 09:36:24 +01:00
2021-01-12 00:08:55 +01:00
2020-09-04 15:38:14 +02:00
2020-11-03 16:08:42 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-11-04 23:59:47 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-11-04 23:59:47 +01:00
2020-12-21 16:28:03 +01:00
2017-03-08 09:20:36 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2021-02-05 13:34:12 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-11-04 23:59:47 +01:00
2020-12-27 11:07:46 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2021-01-02 23:35:59 +01:00
2021-01-02 23:35:59 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-11-04 23:59:47 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-10-26 17:18:37 -04:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-12-29 17:49:36 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2021-01-02 11:51:55 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-10-03 22:59:50 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-11-04 23:59:47 +01:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-09-04 15:38:14 +02:00
2020-11-03 16:08:42 +01:00
2021-02-09 02:48:27 -05:00
2020-09-04 15:38:14 +02:00