Skip to content

Commit 77bc40a

Browse files
help instead of prompt
1 parent 7c104bb commit 77bc40a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/lambda

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ def invoke(event_file, config_file, profile, verbose):
127127
)
128128
@click.option(
129129
'--keep-last',
130-
type=int,
131130
default=3,
132-
prompt='Please enter the number of recent versions to keep',
131+
type=int,
132+
help='Please enter the number of recent versions to keep',
133133
)
134134
def deploy(requirements, local_package, config_file, profile, preserve_vpc, keep_last):
135135
aws_lambda.deploy(
@@ -206,9 +206,9 @@ def upload(requirements, local_package, config_file, profile):
206206
)
207207
@click.option(
208208
'--keep-last',
209-
type=int,
210209
default=3,
211-
prompt='Please enter the number of recent versions to keep',
210+
type=int,
211+
help='Please enter the number of recent versions to keep',
212212
)
213213
def deploy_s3(requirements, local_package, config_file, profile, keep_last):
214214
aws_lambda.deploy_s3(

0 commit comments

Comments
 (0)