]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-dump.c
notmuch-dump: deprecate use of output file argument.
[notmuch] / notmuch-dump.c
index ac5d0742e0f9c61d74eca06633e199ee13491f47..409c86ada6dd709461da7b20e7732a3a345a3880 100644 (file)
@@ -42,6 +42,7 @@ notmuch_dump_command (unused (void *ctx), int argc, char *argv[])
        return 1;
 
     if (argc && strcmp (argv[0], "--") != 0) {
+       fprintf (stderr, "Warning: the output file argument of dump is deprecated.\n");
        output = fopen (argv[0], "w");
        if (output == NULL) {
            fprintf (stderr, "Error opening %s for writing: %s\n",