X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-dump.c;h=d8186fbc7c297495b77a39c1314f973af151a206;hp=37432142761216e4a87494c3ac57bf79ad207c99;hb=d894887c94c67860af817239bb1ce3b0360ec3e0;hpb=5fddc07dc31481453c1af186bf7da241c00cdbf1 diff --git a/notmuch-dump.c b/notmuch-dump.c index 37432142..d8186fbc 100644 --- a/notmuch-dump.c +++ b/notmuch-dump.c @@ -44,7 +44,7 @@ notmuch_dump_command (unused (void *ctx), int argc, char *argv[]) int opt_index; notmuch_opt_desc_t options[] = { - { NOTMUCH_OPT_POSITION, &output_file_name, 0, 0, 0 }, + { NOTMUCH_OPT_STRING, &output_file_name, "output", 'o', 0 }, { 0, 0, 0, 0, 0 } }; @@ -56,7 +56,6 @@ notmuch_dump_command (unused (void *ctx), int argc, char *argv[]) } if (output_file_name) { - fprintf (stderr, "Warning: the output file argument of dump is deprecated.\n"); output = fopen (output_file_name, "w"); if (output == NULL) { fprintf (stderr, "Error opening %s for writing: %s\n",