equal
deleted
inserted
replaced
21 # You should have received a copy of the GNU General Public License |
21 # You should have received a copy of the GNU General Public License |
22 # along with this program; if not, write to the Free Software |
22 # along with this program; if not, write to the Free Software |
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
24 |
24 |
25 |
25 |
|
26 from __future__ import print_function |
26 import os |
27 import os |
27 import sys |
28 import sys |
28 import getopt |
29 import getopt |
29 import time |
30 import time |
30 import util.paths as paths |
31 import util.paths as paths |
59 for i in range(0, 30): |
60 for i in range(0, 30): |
60 wx.Yield() |
61 wx.Yield() |
61 time.sleep(0.01) |
62 time.sleep(0.01) |
62 |
63 |
63 def Usage(self): |
64 def Usage(self): |
64 print "Usage:" |
65 print("Usage:") |
65 print "%s [Options] [Projectpath] [Buildpath]" % sys.argv[0] |
66 print("%s [Options] [Projectpath] [Buildpath]" % sys.argv[0]) |
66 print "" |
67 print("") |
67 print "Supported options:" |
68 print("Supported options:") |
68 print "-h --help Print this help" |
69 print("-h --help Print this help") |
69 print "-u --updatecheck URL Retrieve update information by checking URL" |
70 print("-u --updatecheck URL Retrieve update information by checking URL") |
70 print "-e --extend PathToExtension Extend IDE functionality by loading at start additional extensions" |
71 print("-e --extend PathToExtension Extend IDE functionality by loading at start additional extensions") |
71 print "" |
72 print("") |
72 print "" |
73 print("") |
73 |
74 |
74 def SetCmdOptions(self): |
75 def SetCmdOptions(self): |
75 self.shortCmdOpts = "hu:e:" |
76 self.shortCmdOpts = "hu:e:" |
76 self.longCmdOpts = ["help", "updatecheck=", "extend="] |
77 self.longCmdOpts = ["help", "updatecheck=", "extend="] |
77 |
78 |