1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-15 01:24:29 +02:00

fix help message

This commit is contained in:
Kelly Brazil
2019-10-16 17:36:50 -07:00
parent a3ee02514b
commit 366c5dbc01

View File

@ -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]