diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2017-09-10 12:33:04 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2017-09-10 12:33:04 +0200 |
commit | 0b9c68b4726a923b5b4d4141debf80db626a32a4 (patch) | |
tree | 6a20941e076f755aab3631251fcf3582217afab8 /src/ee | |
parent | 090a2703703877bd150aae637031c5d7dcba2df4 (diff) | |
download | ee-python-0b9c68b4726a923b5b4d4141debf80db626a32a4.tar.gz ee-python-0b9c68b4726a923b5b4d4141debf80db626a32a4.tar.bz2 ee-python-0b9c68b4726a923b5b4d4141debf80db626a32a4.tar.xz ee-python-0b9c68b4726a923b5b4d4141debf80db626a32a4.zip |
o List available tools when missing argument.
Diffstat (limited to 'src/ee')
-rw-r--r-- | src/ee/__main__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ee/__main__.py b/src/ee/__main__.py index ecc0a98..acb8cbf 100644 --- a/src/ee/__main__.py +++ b/src/ee/__main__.py @@ -42,6 +42,11 @@ def main(): tools = find_tools() + if len(sys.argv) <= 1: + eprint("Available tools:") + for t in tools: + print(t.name) + exit(1) name = sys.argv[1] del sys.argv[1] |