From: Nicolas Williams Date: Fri, 29 May 2015 15:37:58 +0000 (-0500) Subject: Revert "Better argfile fix (#705, fix #736)" X-Git-Tag: jq-1.5rc2~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6af7857ccdb81e01320ca9437a8241003f917bba;p=jq Revert "Better argfile fix (#705, fix #736)" This reverts commit 4f8567476d3a6e8b5b422d05190f777221b984fb. --- diff --git a/main.c b/main.c index 2433e41..627719b 100644 --- a/main.c +++ b/main.c @@ -320,7 +320,7 @@ int main(int argc, char* argv[]) { ret = 2; goto out; } - arg = jv_object_set(arg, jv_string("value"), jv_array_get(data, 0)); + arg = jv_object_set(arg, jv_string("value"), data); program_arguments = jv_array_append(program_arguments, arg); i += 2; // skip the next two arguments if (!short_opts) continue;