From 5051ab32ce6ff992ff92c1999b135d6933872e88 Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Sun, 12 Sep 2021 16:22:22 +0000 Subject: [PATCH] Update README with the -h/--help argparse hint --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 80d4d03..2690553 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,14 @@ sudo pip install pyinstaller pyinstaller vpp-snmp-agent.py --onefile ## Run it on console -dist/vpp-snmp-agent +dist/vpp-snmp-agent -h +usage: vpp-snmp-agent [-h] [-a ADDRESS] [-p PERIOD] [-d] + +optional arguments: + -h, --help show this help message and exit + -a ADDRESS Location of the SNMPd agent (unix-path or host:port), default localhost:705 + -p PERIOD Period to poll VPP, default 30 (seconds) + -d Enable debug, default False ## Install sudo cp dist/vpp-snmp-agent /usr/sbin/