Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #9 from laughingman7743/add_no_profile_option
Browse files Browse the repository at this point in the history
Fix option type
  • Loading branch information
laughingman7743 authored May 8, 2018
2 parents e2b3d27 + 54c8de8 commit b51b496
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Build
--squash / --no-squash Squash newly built layers into a single new layer.
--push / --no-push Push an image or a repository to a Amazon ECR registry after a successful build.
--quiet / --no-quiet Suppress the build output and print image ID on success.
--no-profile BOOLEAN Forcibly disable the ECR configuration file profile.
--no-profile Forcibly disable the ECR configuration file profile.
-h, --help Show this message and exit.
Push
Expand Down
2 changes: 1 addition & 1 deletion ecr_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def cli(ctx, profile, region, registry_id, debug):
help=msg.HELP_OPTION_PUSH)
@click.option('--quiet/--no-quiet', default=False, required=False,
help=msg.HELP_OPTION_QUIET)
@click.option('--no-profile', type=bool, default=False, required=False,
@click.option('--no-profile', is_flag=True, default=False, required=False,
help=msg.HELP_OPTION_NO_PROFILE)
@click.pass_context
def build(ctx, path, tag, dockerfile, configfile, cache, rm, force_rm,
Expand Down

0 comments on commit b51b496

Please sign in to comment.