diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2021-03-17 17:45:50 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2021-03-17 17:45:50 -0400 |
commit | 3b5c67e371c0435aa91a10ccb106084e0084717b (patch) | |
tree | bb1fe6ae9578910052f164f28adc2d32b46d6898 | |
parent | fa9b3db12470eb2df6a1cd6c61c74bc32afd138d (diff) | |
download | curl-3b5c67e371c0435aa91a10ccb106084e0084717b.tar.gz |
dump cmdline
-rw-r--r-- | src/tool_operate.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index 942643290..c5d662bf8 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -2634,6 +2634,17 @@ CURLcode operate(struct GlobalConfig *global, int argc, argv_item_t argv[]) } #endif + { + int i; + fprintf(stderr, "\n"); + for(i = 0; i < argc; ++i) { + char *p = curlx_convert_tchar_to_UTF8(argv[i]); + fprintf(stderr, "DEBUG: argv[%d]: %s\n", i, p); + curlx_unicodefree(p); + } + fprintf(stderr, "\n"); + } + /* Perform the main operations */ if(!result) { size_t count = 0; |