Skip to content

Commit

Permalink
Change -f parameter type to boolean flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mjenczmyk committed Mar 24, 2019
1 parent 7adf8f7 commit eaa1f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packtPublishingFreeEbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def update_download_progress_bar(current_work_done):
@click.option('-sgd', '--sgd', is_flag=True, help='Grab Free Learning Packt ebook and download it to Google Drive.')
@click.option('-m', '--mail', is_flag=True, help='Grab Free Learning Packt ebook and send it by an email.')
@click.option('-sm', '--status_mail', is_flag=True, help='Send an email whether script execution was successful.')
@click.option('-f', '--folder', default=False, help='Download ebooks into separate directories.')
@click.option('-f', '--folder', is_flag=True, default=False, help='Download ebooks into separate directories.')
@click.option(
'--noauth_local_webserver',
is_flag=True,
Expand Down

0 comments on commit eaa1f4a

Please sign in to comment.