1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

fix issue with getting options with some commands #47

This commit is contained in:
Kelly Brazil
2020-03-11 09:21:14 -07:00
parent 970493ab93
commit 8e02e5c75a
2 changed files with 6 additions and 5 deletions

View File

@ -13,6 +13,9 @@ class MyTests(unittest.TestCase):
'jc -p pip3 show jc': 'pip3 show jc | jc --pip-show -p',
'jc -prd last': 'last | jc --last -prd',
'jc -prd lastb': 'lastb | jc --last -prd',
'jc -p airport -I': 'airport -I | jc --airport -p',
'jc -p -r airport -I': 'airport -I | jc --airport -pr',
'jc -prd airport -I': 'airport -I | jc --airport -prd',
'jc -p nonexistent command': 'nonexistent command',
'jc -ap': None
}