t4030: abstract away SHA-1-specific constants
[gitweb.git] / builtin / worktree.c
index 40a438ed6ce802e0745495ba611e49c23e2eefce..30647b30c5337e23c70720558a5ab96e9a8d68fd 100644 (file)
@@ -783,8 +783,9 @@ static int remove_worktree(int ac, const char **av, const char *prefix)
 {
        int force = 0;
        struct option options[] = {
-               OPT_BOOL(0, "force", &force,
-                        N_("force removing even if the worktree is dirty")),
+               OPT__FORCE(&force,
+                        N_("force removing even if the worktree is dirty"),
+                        PARSE_OPT_NOCOMPLETE),
                OPT_END()
        };
        struct worktree **worktrees, *wt;