We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dba3aca commit eb75200Copy full SHA for eb75200
ndb.c
@@ -252,7 +252,17 @@ int main(int argc, char *argv[])
252
ndb_filter_end_field(f);
253
argv += 2;
254
argc -= 2;
255
- } else if (!strcmp(argv[0], "-u")) {
+ } else if (!strcmp(argv[0], "--since") || !strcmp(argv[0], "-s")) {
256
+ if (current_field) {
257
+ ndb_filter_end_field(f);
258
+ current_field = 0;
259
+ }
260
+ ndb_filter_start_field(f, NDB_FILTER_SINCE);
261
+ ndb_filter_add_int_element(f, atoll(argv[1]));
262
263
+ argv += 2;
264
+ argc -= 2;
265
+ } else if (!strcmp(argv[0], "--until") || !strcmp(argv[0], "-u")) {
266
if (current_field) {
267
268
current_field = 0;
0 commit comments