add description parameter to OPT__DRY_RUN
[gitweb.git] / builtin / notes.c
index e0a1f62fc9eb0ee6a1943e7a3438e1077a666cb9..2ab070fa09dd1dfb253ae48d867d4c06699e40c3 100644 (file)
@@ -804,8 +804,7 @@ static int prune(int argc, const char **argv, const char *prefix)
        struct notes_tree *t;
        int show_only = 0, verbose = 0;
        struct option options[] = {
-               OPT_BOOLEAN('n', "dry-run", &show_only,
-                           "do not remove, show only"),
+               OPT__DRY_RUN(&show_only, "do not remove, show only"),
                OPT__VERBOSE(&verbose, "report pruned notes"),
                OPT_END()
        };