X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fsymbolic-ref.c;h=dea849c3c5ec0c0a7ee0ac98e1ae62a6dacf5806;hb=f3bb8b4b8452f1b7add220e787ef56c737ceff6a;hp=ca855a5eb239f4dadccd53369e38db4e78b1d13f;hpb=8577def6fc1dda3f18a284162aba07819fbcbcd4;p=git.git diff --git a/builtin/symbolic-ref.c b/builtin/symbolic-ref.c index ca855a5eb..dea849c3c 100644 --- a/builtin/symbolic-ref.c +++ b/builtin/symbolic-ref.c @@ -30,7 +30,8 @@ int cmd_symbolic_ref(int argc, const char **argv, const char *prefix) int quiet = 0; const char *msg = NULL; struct option options[] = { - OPT__QUIET(&quiet), + OPT__QUIET(&quiet, + "suppress error message for non-symbolic (detached) refs"), OPT_STRING('m', NULL, &msg, "reason", "reason of the update"), OPT_END(), };