mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
fixed cli.js as review comment.
This commit is contained in:
parent
bbbd8f688c
commit
d6c0caeb66
1 changed files with 3 additions and 16 deletions
17
lib/cli.js
17
lib/cli.js
|
@ -763,7 +763,7 @@ program
|
|||
, 'your s3 bucket name'
|
||||
, String)
|
||||
.option('--profile <name>'
|
||||
, 'your aws credentions profile name'
|
||||
, 'your aws credentials profile name'
|
||||
, String
|
||||
, 'stf-storage')
|
||||
.option('--endpoint <endpoint>'
|
||||
|
@ -774,7 +774,7 @@ program
|
|||
require('./units/storage/amazons3')({
|
||||
port: options.port
|
||||
, profile: options.profile
|
||||
, Bucket: options.bucket
|
||||
, bucket: options.bucket
|
||||
, endpoint: options.endpoint
|
||||
, expires: options.expires
|
||||
})
|
||||
|
@ -1003,19 +1003,6 @@ program
|
|||
, [600, 800])
|
||||
.option('--mute-master'
|
||||
, 'whether to mute master volume when devices are being used')
|
||||
.option('--use-s3'
|
||||
, 'use amazon s3')
|
||||
.option('--s3-bucket <bucketname>'
|
||||
, 'your Bucket name'
|
||||
, String)
|
||||
.option('--s3-profile <s3profile>'
|
||||
, 'aws credential Profile name'
|
||||
, String
|
||||
, 'stf-storage')
|
||||
.option('--s3-endpoint <s3endpoint>'
|
||||
, 's3 endpoint'
|
||||
, String
|
||||
, 's3-ap-northeast-1.amazonaws.com')
|
||||
.option('--lock-rotation'
|
||||
, 'whether to lock rotation when devices are being used')
|
||||
.action(function(serials, options) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue