X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FPackerRun.vala;h=ee3c97d1c2524215afc58a576a554d510eb2e165;hb=5952f0a864405366d4da4951db2c01f207b82b35;hp=99d379e6c4254774de0a1371525ae442d4b0f163;hpb=2010a68dd785effd953b629d2546d077e77e6e00;p=gnome.introspection-doc-generator diff --git a/JSDOC/PackerRun.vala b/JSDOC/PackerRun.vala index 99d379e..ee3c97d 100644 --- a/JSDOC/PackerRun.vala +++ b/JSDOC/PackerRun.vala @@ -20,7 +20,7 @@ namespace JSDOC [CCode (array_length = false, array_null_terminated = true)] private static string[]? opt_files_from = null; public static bool opt_debug = false; - + public static bool opt_keep_whitespace = false; const OptionEntry[] options = { @@ -91,6 +91,9 @@ namespace JSDOC // now run the Packer... var p = new Packer(opt_target, opt_debug_target); + p.keepWhite = opt_keep_whitespace; + + if (opt_files != null) { foreach (string f in opt_files) {