[Cook] [PATCH] options built-in

Lev S Bishop lev.bishop at yale.edu
Tue May 3 04:55:45 EST 2005


The [options] built-in is supposed to return a list of all currently 
in-effect command-line options. The list is missing the -includecooked and 
-includecookedwarning options. Here is a patch to fix that.

--- cook/builtin/options.c      2005-04-22 11:28:46.880955200 -0400
+++ cook/builtin/options.c      2005-04-22 11:32:57.601473600 -0400
@@ -77,6 +77,8 @@
        { OPTION_ERROK,         "-errok",       "-noerrok",     },
        { OPTION_FINGERPRINT,   "-fingerprint", "-nofingerprint", },
        { OPTION_FORCE,         "-force",       "-noforce",     },
+       { OPTION_INCLUDE_COOKED,"-includecooked","-noincludecooked", },
+       { OPTION_INCLUDE_COOKED_WARNING, "-includecookedwarning", "-noincludecookedwarning", },
        { OPTION_METER,         "-meter",       "-nometer",     },
        { OPTION_PERSEVERE,     "-continue",    "-nocontinue",  },
        { OPTION_PRECIOUS,      "-precious",    "-noprecious",  },







More information about the Cook-users mailing list