Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix workers option type #5

Merged
merged 2 commits into from
Aug 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ def cli_opts() -> argparse.Namespace:
type=lambda x: is_valid_file(parser, x),
)
parser.add_argument(
"-w", "--workers", help="Number of threads", required=False, default=10
"-w", "--workers", help="Number of threads", required=False, default=10, type=int
)
parser.add_argument("-p", "--proxy", help="Proxy host", required=False)
parser.add_argument(
"-t", "--timeout", help="Connection timeout", required=False, default=10
"-t", "--timeout", help="Connection timeout", required=False, default=10, type=int
)
parser.add_argument("-o", "--output", help="Output file", required=False)
return parser.parse_args()
Expand Down