parse-options: Allow to hide options from the default usage.
commitdd3bf0f4a5bab17011e94bfeb808ee64dd2ad040
authorPierre Habouzit <madcoder@debian.org>
Mon, 19 Nov 2007 09:21:44 +0000 (19 10:21 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Nov 2007 06:11:28 +0000 (22 22:11 -0800)
tree0d0602508bf287ffd733b685f5bed6750a057fe3
parent31e7bded608416e3116f9c691a4d4314f10640b6
parse-options: Allow to hide options from the default usage.

This is useful for backward-compatibility aliases, or very advanced command
line switches introduced for internal git usages and have no real use for a
user.

parse-options still shows them if the user asks for --help-all.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.c
parse-options.h