Diff of /trunk/cforge/cforge/Program.cs [r5] .. [r6]  Maximize  Restore

Switch to unified view

a/trunk/cforge/cforge/Program.cs b/trunk/cforge/cforge/Program.cs
...
...
42
            {
42
            {
43
                switch (args[i])
43
                switch (args[i])
44
                {
44
                {
45
                    case "--register-url-handler":
45
                    case "--register-url-handler":
46
                        Helper.RegisterProtocol();
46
                        Helper.RegisterProtocol();
47
                        break;
47
                        break;
48
                    case "--add-to-path":
49
                        Helper.AddToSystemPath();
50
                        break;
48
51
49
                    case "--list-scripts":
52
                    case "--list-scripts":
50
53
51
                        Console.WriteLine("List all scripts: ");
54
                        Console.WriteLine("List all scripts: ");
52
                        foreach (String item in liScripts)
55
                        foreach (String item in liScripts)
...
...
79
            Console.WriteLine(@"usage: cforge <command> [options]");
82
            Console.WriteLine(@"usage: cforge <command> [options]");
80
            Console.WriteLine(@"");
83
            Console.WriteLine(@"");
81
            Console.WriteLine(@"commands:");
84
            Console.WriteLine(@"commands:");
82
            Console.WriteLine(@"-h/--help: show this help");
85
            Console.WriteLine(@"-h/--help: show this help");
83
            Console.WriteLine(@"--register-url-handler      register cforge url handler in windows registry");
86
            Console.WriteLine(@"--register-url-handler      register cforge url handler in windows registry");
87
            Console.WriteLine(@"--add-to-path               add this cforge folder to windows path variable");
88
            
84
            Console.WriteLine(@"--list-scripts              list all available scripts (ironpython subcommands)");
89
            Console.WriteLine(@"--list-scripts              list all available scripts (ironpython subcommands)");
85
90
86
            // generic part
91
            // generic part
87
92
88
            Console.WriteLine(@"");
93
            Console.WriteLine(@"");