mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
With inputs builtin, -n and -R can now coexist
This commit is contained in:
5
main.c
5
main.c
@@ -396,11 +396,6 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
if (!program) usage(2);
|
||||
|
||||
if ((options & PROVIDE_NULL) && (options & (RAW_INPUT | SLURP))) {
|
||||
fprintf(stderr, "%s: --null-input cannot be used with --raw-input or --slurp\n", progname);
|
||||
die();
|
||||
}
|
||||
|
||||
if (options & FROM_FILE) {
|
||||
char *program_origin = strdup(program);
|
||||
if (program_origin == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user