src/jsdoc/PackerRun.vala
authorAlan Knowles <alan@roojs.com>
Wed, 5 Jul 2017 02:47:12 +0000 (10:47 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 5 Jul 2017 02:47:12 +0000 (10:47 +0800)
src/jsdoc/PackerRun.vala

index 79b04a2..dc54811 100644 (file)
@@ -233,30 +233,29 @@ namespace JSDOC
                                        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);
-                                        
                                }
-                               
-               };
+
+
+                                
+
+                       } 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);
+                                
+                       }
+                       
                                         
                         
                }