From 366c5dbc010869bdb1d3b9d852e10510bd5c266f Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Wed, 16 Oct 2019 17:36:50 -0700 Subject: [PATCH] fix help message --- jc/jc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jc/jc.py b/jc/jc.py index 6f709b96..58551973 100755 --- a/jc/jc.py +++ b/jc/jc.py @@ -15,9 +15,9 @@ def main(): data = sys.stdin.read() if len(sys.argv) < 2: - print(f'\nError: {sys.argv[0]}\n Must specify parser. (e.g. --ls, --netstat, --ifconfig, etc.)') + print(f'\nError: jc\n Must specify parser. (e.g. --ls, --netstat, --ifconfig, etc.)') print(' Use -p to pretty print') - print(f'\nExample: ls -al | {sys.argv[0]} --ls -p\n') + print(f'\nExample: ls -al | jc --ls -p\n') exit() arg = sys.argv[1]