apache / incubator-heron

Apache Heron (Incubating) is a realtime, distributed, fault-tolerant stream processing engine from Twitter
https://heron.apache.org/
Apache License 2.0
3.64k stars 598 forks source link

Heron client ignores unrecognized arguments #1738

Open billonahill opened 7 years ago

billonahill commented 7 years ago

Despite what the arg_parse documentation says, passing an invalid option like --bar to the client does not cause an error. Instead the arg gets silently ignored. This is dangerous since a typo of --dry-run for example would cause action to be taken, instead of an error.

objmagic commented 7 years ago

can be combined into https://github.com/twitter/heron/issues/1595