X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=builtin%2Fremote.c;h=e8377994e57a2286f9cea329578c8f104a392b88;hb=f76897b6ce9964a25f4c85f9fb034cba9dd71573;hp=555d4c896c5fba060f3ef65ba591bbdb7d16a355;hpb=622dd8bf8107ff66e0b6ae9d55caa09dae853bfb;p=platform%2Fupstream%2Fgit.git diff --git a/builtin/remote.c b/builtin/remote.c index 555d4c8..e837799 100644 --- a/builtin/remote.c +++ b/builtin/remote.c @@ -170,9 +170,9 @@ static int add(int argc, const char **argv) OPT_STRING_LIST('t', "track", &track, N_("branch"), N_("branch(es) to track")), OPT_STRING('m', "master", &master, N_("branch"), N_("master branch")), - { OPTION_CALLBACK, 0, "mirror", &mirror, "(push|fetch)", + OPT_CALLBACK_F(0, "mirror", &mirror, "(push|fetch)", N_("set up remote as a mirror to push to or fetch from"), - PARSE_OPT_OPTARG | PARSE_OPT_COMP_ARG, parse_mirror_opt }, + PARSE_OPT_OPTARG | PARSE_OPT_COMP_ARG, parse_mirror_opt), OPT_END() };