Skip to content

Commit

Permalink
fix: -m alias for --max-requests
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Apr 23, 2020
1 parent dd84e51 commit b744d04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Options:
--docs-extensions Comma-separated extensions that will be add to table,
default:doc,docx,xls,xlsx,ppt,pptx,pdf,rar,zip
--follow-xml-sitemap Follow sitemap.xml
--max-requests <num> Limit max pages scan (default: 0)
-m, --max-requests <num> Limit max pages scan (default: 0)
--no-headless Show browser GUI while scan
--no-remove-csv No delete csv after xlsx generate
--out-dir <dir> Output directory (default: ".")
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ program
.option('--no-limit-domain', `Scan not only current domain`)
.option('--docs-extensions', `Comma-separated extensions that will be add to table, default:doc,docx,xls,xlsx,ppt,pptx,pdf,rar,zip`, list)
.option('--follow-xml-sitemap', `Follow sitemap.xml`)
.option('--max-requests <num>', `Limit max pages scan`, 0)
.option('-m, --max-requests <num>', `Limit max pages scan`, 0)
.option('--no-headless', `Show browser GUI while scan`)
.option('--no-remove-csv', `No delete csv after xlsx generate`)
.option('--out-dir <dir>', `Output directory`, '.')
Expand Down

0 comments on commit b744d04

Please sign in to comment.