Skip to content

Commit 7caecfc

Browse files
convert -t to positional argument, target
1 parent fb72c8a commit 7caecfc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,10 @@ and features. It is mandatory that you have it installed before running Raccoon.
8787

8888
### Usage
8989
```
90-
Usage: raccoon [OPTIONS]
90+
Usage: raccoon [OPTIONS] TARGET
9191
9292
Options:
9393
--version Show the version and exit.
94-
-t, --target TEXT Target to scan [required]
9594
-d, --dns-records TEXT Comma separated DNS records to query.
9695
Defaults to: A,MX,NS,CNAME,SOA,TXT
9796
--tor-routing Route HTTP traffic through Tor (uses port

raccoon_src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def intro(logger):
4545

4646
@click.command()
4747
@click.version_option("0.8.3")
48-
@click.option("-t", "--target", required=True, help="Target to scan")
48+
@click.argument("target")
4949
@click.option("-d", "--dns-records", default="A,MX,NS,CNAME,SOA,TXT",
5050
help="Comma separated DNS records to query. Defaults to: A,MX,NS,CNAME,SOA,TXT")
5151
@click.option("--tor-routing", is_flag=True, help="Route HTTP traffic through Tor (uses port 9050)."

0 commit comments

Comments
 (0)