add description parameter to OPT__DRY_RUN
[gitweb.git] / builtin / add.c
index fbf14035c32ce7eaf0659ff5dee73f7e6b54e8bb..9625ceeb5bb6c6e7c8c37ea505ab7d8a9511ef9d 100644 (file)
@@ -313,7 +313,7 @@ static int verbose = 0, show_only = 0, ignored_too = 0, refresh_only = 0;
 static int ignore_add_errors, addremove, intent_to_add, ignore_missing = 0;
 
 static struct option builtin_add_options[] = {
-       OPT__DRY_RUN(&show_only),
+       OPT__DRY_RUN(&show_only, "dry run"),
        OPT__VERBOSE(&verbose, "be verbose"),
        OPT_GROUP(""),
        OPT_BOOLEAN('i', "interactive", &add_interactive, "interactive picking"),