Skip to content

Commit

Permalink
Mark select-object-contents outfile as required
Browse files Browse the repository at this point in the history
  • Loading branch information
joguSD committed Nov 1, 2019
1 parent a19dc43 commit 8ede448
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions awscli/customizations/s3events.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def replace_event_stream_docs(help_command, **kwargs):


class S3SelectStreamOutputArgument(CustomArgument):
_DOCUMENT_AS_REQUIRED = True

def __init__(self, stream_key, session, **kwargs):
super(S3SelectStreamOutputArgument, self).__init__(**kwargs)
Expand Down
2 changes: 2 additions & 0 deletions tests/functional/s3api/test_select_object_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,5 @@ def test_output(self):
'Output\n======\n'
'This command generates no output'
)
self.assert_not_contains('[outfile')
self.assert_contains('outfile')

0 comments on commit 8ede448

Please sign in to comment.