Skip to content

Add support for argparse#200

Merged
mattmakai merged 8 commits intomattmakai:masterfrom
huangsam:add-argparse
Jan 12, 2019
Merged

Add support for argparse#200
mattmakai merged 8 commits intomattmakai:masterfrom
huangsam:add-argparse

Conversation

@huangsam
Copy link
Copy Markdown
Contributor

This pull request was part of the next steps that I intended to make from my blog post. Finally got around to it! It looks like this:

usage: check_urls.py [-h] [-timeout TIMEOUT] [-retries RETRIES]
                     [-threads THREADS]

Check correctness of url links.

optional arguments:
  -h, --help            show this help message and exit
  -timeout TIMEOUT, --url-timeout TIMEOUT
                        Timeout in seconds to wait for url
  -retries RETRIES, --url-retries RETRIES
                        Number of url retries
  -threads THREADS, --num-threads THREADS
                        Number of threads to run with

@mattmakai mattmakai merged commit 20d6b35 into mattmakai:master Jan 12, 2019
@mattmakai
Copy link
Copy Markdown
Owner

awesome. this script has been super helpful with all of the end-of-year link rot. thanks @huangsam!

@huangsam huangsam deleted the add-argparse branch January 12, 2019 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants