X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fsymbolic-ref.c;h=dea849c3c5ec0c0a7ee0ac98e1ae62a6dacf5806;hb=b361888dd5a26c4f1eb6268392e89e2d546accf6;hp=ca855a5eb239f4dadccd53369e38db4e78b1d13f;hpb=161cbf0b8e3280daab85a5b76910057a63016314;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(), };