From 211be0e6b069bddca3244f0dc7ced0155b186acb Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 30 May 2016 14:13:36 +0800 Subject: [PATCH] src/Application.vala --- src/Application.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Application.vala b/src/Application.vala index 2642fa642..ba26f015c 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -60,7 +60,7 @@ { "debug", 0, 0, OptionArg.NONE, ref opt_debug, "Show debug messages", null }, // some testing code. - { "list-projects", 0, 0, OptionArg.NONE, ref opt_debug, "List Projects", null }, + { "list-projects", 0, 0, OptionArg.NONE, ref opt_list_projects, "List Projects", null }, { "bjs", 0, 0, OptionArg.STRING, ref opt_bjs_compile, "convert bjs file", null }, { "bjs-target", 0, 0, OptionArg.STRING, ref opt_bjs_compile_target, "convert bjs file to tareet : vala / js", null }, @@ -76,6 +76,7 @@ public static string opt_bjs_compile; public static string opt_bjs_compile_target; public static bool opt_debug = false; + public static bool opt_list_projects = false; public static string _self; -- 2.39.2