Hi,
On Sun, 14 Oct 2007, Johannes Schindelin wrote:
And an amend for ultra-abbreviated options (as you noticed on IRC):
diff --git a/parse-options.c b/parse-options.c
index afc6c89..acabb98 100644
--- a/parse-options.c
+++ b/parse-options.c
@@ -137,6 +137,11 @@ is_abbreviated:
abbrev_flags = flags;
continue;
}
+ /* negated and abbreviated very much? */
+ if (!prefixcmp("no-", arg)) {
+ flags |= OPT_UNSET;
+ goto is_abbreviated;
+ }
/* negated? */
if (strncmp(arg, "no-", 3))
continue;
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html