X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-add.c;h=9930cf53f5e94cb7389e7c0b2b760b113a366e51;hb=6e1c23442a0315ad440bb8457703dcf1ad943b96;hp=1da22eec915539f06a4dfc1e4bb1d18482de0ede;hpb=2d3cfd77ad5305c132f7b23c192ae6c327443c95;p=git.git diff --git a/builtin-add.c b/builtin-add.c index 1da22eec9..9930cf53f 100644 --- a/builtin-add.c +++ b/builtin-add.c @@ -200,8 +200,8 @@ static struct option builtin_add_options[] = { OPT_GROUP(""), OPT_BOOLEAN('i', "interactive", &add_interactive, "interactive picking"), OPT_BOOLEAN('p', "patch", &patch_interactive, "interactive patching"), - OPT_BOOLEAN('f', NULL, &ignored_too, "allow adding otherwise ignored files"), - OPT_BOOLEAN('u', NULL, &take_worktree_changes, "update tracked files"), + OPT_BOOLEAN('f', "force", &ignored_too, "allow adding otherwise ignored files"), + OPT_BOOLEAN('u', "update", &take_worktree_changes, "update tracked files"), OPT_BOOLEAN( 0 , "refresh", &refresh_only, "don't add, only refresh the index"), OPT_BOOLEAN( 0 , "ignore-errors", &ignore_add_errors, "just skip files which cannot be added because of errors"), OPT_END(),