1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 02:29:26 +02:00

Automatically use prebuild resources if available.

This commit is contained in:
Simo Kinnunen 2015-06-30 17:44:58 +09:00
parent 76bce1a19d
commit 94dc1689b8
2 changed files with 4 additions and 9 deletions

View file

@ -601,8 +601,6 @@ program
.option('--user-profile-url <url>'
, 'URL to external user profile page'
, String)
.option('-d, --disable-watch'
, 'disable watching resources')
.action(function(options) {
if (!options.secret) {
this.missingArgument('--secret')
@ -621,7 +619,6 @@ program
, authUrl: options.authUrl
, websocketUrl: options.websocketUrl
, userProfileUrl: options.userProfileUrl
, disableWatch: options.disableWatch
})
})
@ -862,8 +859,6 @@ program
, 'provider name (or os.hostname())'
, String
, os.hostname())
.option('-d, --disable-watch'
, 'disable watching resources')
.option('-t, --group-timeout <seconds>'
, 'group timeout'
, Number
@ -975,9 +970,6 @@ program
)
].concat((function() {
var extra = []
if (options.disableWatch) {
extra.push('--disable-watch')
}
if (options.userProfileUrl) {
extra.push('--user-profile-url', options.userProfileUrl)
}