Closed bahamas10 closed 8 years ago
The current behavior matches the man page: https://github.com/mathiasbynens/he/blob/089b8afba8b3efe865e1c5bc38ed063103ff8a05/man/he.1#L49-L62 If you want to change it, the man page should be updated as well.
@mathiasbynens this has been updated. the documentation now states he
will exit with code 0 if it did what it was told to do successfully, which includes encoding/decoding data, or printing the version/usage string.
calling he
with -v
, --version
, -h
or --help
will exit with 0, whereas calling he
without arguments will exit with 1 (while still printing the usage message).
Thanks!
is unexpected