summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index ac35b94e3b..a868557a1a 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -167,7 +167,7 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
167 parser.add_option("-u", "--ui", help = "userinterface to use", 167 parser.add_option("-u", "--ui", help = "userinterface to use",
168 action = "store", dest = "ui") 168 action = "store", dest = "ui")
169 169
170 parser.add_option("-t", "--servertype", help = "Choose which server to use, none, process or xmlrpc", 170 parser.add_option("-t", "--servertype", help = "Choose which server to use, process or xmlrpc",
171 action = "store", dest = "servertype") 171 action = "store", dest = "servertype")
172 172
173 parser.add_option("", "--revisions-changed", help = "Set the exit code depending on whether upstream floating revisions have changed or not", 173 parser.add_option("", "--revisions-changed", help = "Set the exit code depending on whether upstream floating revisions have changed or not",
@@ -191,7 +191,7 @@ def main():
191 191
192 ui_main = get_ui(configuration) 192 ui_main = get_ui(configuration)
193 193
194 # Server type can be xmlrpc, process or none currently, if nothing is specified, 194 # Server type can be xmlrpc or process currently, if nothing is specified,
195 # the default server is process 195 # the default server is process
196 if configParams.servertype: 196 if configParams.servertype:
197 server_type = configParams.servertype 197 server_type = configParams.servertype
@@ -203,7 +203,7 @@ def main():
203 server = getattr(module, server_type) 203 server = getattr(module, server_type)
204 except AttributeError: 204 except AttributeError:
205 sys.exit("FATAL: Invalid server type '%s' specified.\n" 205 sys.exit("FATAL: Invalid server type '%s' specified.\n"
206 "Valid interfaces: xmlrpc, process [default], none." % servertype) 206 "Valid interfaces: xmlrpc, process [default]." % servertype)
207 207
208 if configParams.server_only: 208 if configParams.server_only:
209 if configParams.servertype != "xmlrpc": 209 if configParams.servertype != "xmlrpc":