~sircmpwn/hare

daff63ea85e347be3fde00292d4ff7f5a433a737 — Sebastian 2 months ago 6af48ef
hare cache: exit after printing usage text

Signed-off-by: Sebastian <sebastian@sebsite.pw>
1 files changed, 1 insertions(+), 0 deletions(-)

M cmd/hare/cache.ha
M cmd/hare/cache.ha => cmd/hare/cache.ha +1 -0
@@ 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();