hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit daff63ea85e347be3fde00292d4ff7f5a433a737
parent 6af48ef20993df64e67902b0e1c3090b4a1ae8c7
Author: Sebastian <sebastian@sebsite.pw>
Date:   Mon, 27 Nov 2023 01:18:50 -0500

hare cache: exit after printing usage text

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mcmd/hare/cache.ha | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/cmd/hare/cache.ha b/cmd/hare/cache.ha @@ -26,6 +26,7 @@ fn cache(name: str, cmd: *getopt::command) (void | error) = { }; if (len(cmd.args) != 0) { getopt::printusage(os::stderr, name, cmd.help)?; + os::exit(os::status::FAILURE); }; let cachedir = harecache();