From 9dc6d464d4e1492c0bc4f28ffce1e37b486a40a0 Mon Sep 17 00:00:00 2001 From: Be Date: Thu, 29 Feb 2024 14:54:45 +0100 Subject: [PATCH] Update description --- README.md | 6 +++--- as_network_list.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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()