]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/update-index.c
parse-options: automatically infer PARSE_OPT_LITERAL_ARGHELP
[thirdparty/git.git] / builtin / update-index.c
index a2aee925a0e88b62873ce3ea2289578fbf2bbf55..6700a632beee7cd2702a737aaa7a8ea6fdfd97d1 100644 (file)
@@ -972,7 +972,7 @@ int cmd_update_index(int argc, const char **argv, const char *prefix)
                        (parse_opt_cb *) cacheinfo_callback},
                {OPTION_CALLBACK, 0, "chmod", &set_executable_bit, "(+|-)x",
                        N_("override the executable bit of the listed files"),
-                       PARSE_OPT_NONEG | PARSE_OPT_LITERAL_ARGHELP,
+                       PARSE_OPT_NONEG,
                        chmod_callback},
                {OPTION_SET_INT, 0, "assume-unchanged", &mark_valid_only, NULL,
                        N_("mark files as \"not changing\""),