projects
/
roojspacker
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4e2c935
)
src/jsdoc/PackerRun.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 5 Jul 2017 02:47:12 +0000
(10:47 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 5 Jul 2017 02:47:12 +0000
(10:47 +0800)
src/jsdoc/PackerRun.vala
patch
|
blob
|
history
diff --git
a/src/jsdoc/PackerRun.vala
b/src/jsdoc/PackerRun.vala
index
79b04a2
..
dc54811
100644
(file)
--- a/
src/jsdoc/PackerRun.vala
+++ b/
src/jsdoc/PackerRun.vala
@@
-233,30
+233,29
@@
namespace JSDOC
arg_data = &opt_doc_include_private,
description = "Document Private functions",
arg_description = null
arg_data = &opt_doc_include_private,
description = "Document Private functions",
arg_description = null
- },
-
- var opt_context = new OptionContext ("JSDOC Packer");
-
- try {
- opt_context.set_help_enabled (true);
- opt_context.add_main_entries (options, null);
- if (!opt_context.parse ( ref args)) {
- print("options parse error");
- GLib.Process.exit(Posix.EXIT_FAILURE);
- }
+ }
+ };
+ var opt_context = new OptionContext ("JSDOC Packer");
-
-
-
- } catch (OptionError e) {
- stdout.printf ("error: %s\n", e.message);
- stdout.printf ("Run '%s --help' to see a full list of available command line options.\n %s",
- args[0], opt_context.get_help(true,null));
+ try {
+ opt_context.set_help_enabled (true);
+ opt_context.add_main_entries (options, null);
+ if (!opt_context.parse ( ref args)) {
+ print("options parse error");
GLib.Process.exit(Posix.EXIT_FAILURE);
GLib.Process.exit(Posix.EXIT_FAILURE);
-
}
}
-
- };
+
+
+
+
+ } catch (OptionError e) {
+ stdout.printf ("error: %s\n", e.message);
+ stdout.printf ("Run '%s --help' to see a full list of available command line options.\n %s",
+ args[0], opt_context.get_help(true,null));
+ GLib.Process.exit(Posix.EXIT_FAILURE);
+
+ }
+
}
}