completion: use __gitcomp_builtin in _git_grep
[gitweb.git] / builtin / worktree.c
index 7cef5b120b7786d107282d03052c5e06d3a2c85a..4d3422f62e7e02bd9f4949e2704ac1cb8028ae3d 100644 (file)
@@ -365,7 +365,9 @@ static int add(int ac, const char **av, const char *prefix)
        const char *branch;
        const char *opt_track = NULL;
        struct option options[] = {
-               OPT__FORCE(&opts.force, N_("checkout <branch> even if already checked out in other worktree")),
+               OPT__FORCE(&opts.force,
+                          N_("checkout <branch> even if already checked out in other worktree"),
+                          0),
                OPT_STRING('b', NULL, &opts.new_branch, N_("branch"),
                           N_("create a new branch")),
                OPT_STRING('B', NULL, &new_branch_force, N_("branch"),