diff --git a/setup.py b/setup.py index ea6a63e..992aa1f 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ long_description = f.read() setup( - version='0.1.3', + version='0.1.4', name='zipline-cli', description='Python 3 CLI for Zipline', long_description=long_description, diff --git a/zipline.py b/zipline.py index efa1d5c..c2c5db4 100644 --- a/zipline.py +++ b/zipline.py @@ -157,7 +157,7 @@ def main() -> None: help='Zipline Access Token for Authorization or ZIPLINE_TOKEN.') parser.add_argument('-e', '-x', '--expires_at', '--expire', type=str, default=get_default(['expire', 'expire_at']), help='Ex: 1d, 2w. See: https://zipline.diced.tech/docs/guides/upload-options#image-expiration') - parser.add_argument('--embed', action=argparse.BooleanOptionalAction, default=get_default(['embed'], False, bool), + parser.add_argument('--embed', action='store_true', default=get_default(['embed'], False, bool), help='Enable Embeds on Uploads.') parser.add_argument('-s', '--setup', action='store_true', default=False, help='Automatic Setup of Environment Variables.')