Remove outdated FIXME
This comment predates the addition of $ARGS in jq 1.6, so there was no way to access named arguments with an invalid identifier. Rather than forbid such names, update the manual to clarify.
This commit is contained in:
1 parent
7cac5e80ec
commit
eb9bdca296
3 files changed
+4
-4
No files matched your search
@@ -454,7 +454,6 @@ int main(int argc, char* argv[]) {
|
||||
further_args_are_strings = 0;
|
||||
further_args_are_json = 1;
|
||||
} else if (isoption(&text, 0, "arg", is_short)) {
|
||||
// FIXME: For --arg* we should check that the varname is acceptable
|
||||
if (i >= argc - 2) {
|
||||
fprintf(stderr, "%s: --arg takes two parameters (e.g. --arg varname value)\n", progname);
|
||||
die();
|
||||
|
||||
Reference in new issue
Block a user