diff --git a/README.md b/README.md index 49ac382..d0450c2 100644 --- a/README.md +++ b/README.md @@ -33,17 +33,17 @@ 1. Run the script with the AS number as an argument: ```bash - python ASList.py AS61280 + python as_network_list.py AS61280 ``` 2. If you want to disable all output except the prefixes, use the --quiet or -q switch: ```bash - python ASList.py AS61280 --quiet + python as_network_list.py AS61280 --quiet ``` 3. If you run the script with the -h or --help switch, it will print a help message: ```bash - python ASList.py --help + python as_network_list.py --help ``` diff --git a/as_network_list.py b/as_network_list.py index 68317a8..52c33eb 100755 --- a/as_network_list.py +++ b/as_network_list.py @@ -14,7 +14,7 @@ def get_as_prefixes(asn): return [] def main(): - parser = argparse.ArgumentParser(description='Get prefixes announced by an AS.') + parser = argparse.ArgumentParser(description='./as_network_list.py -q AS61280') parser.add_argument('asn', help='The AS number to get prefixes for.') parser.add_argument('-q', '--quiet', action='store_true', help='Disable all output except prefixes.') args = parser.parse_args()