kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

commit 08390c2d35ae822a809dbab87bf54984052ea044
parent 522bdeee2d1c349d329a6d6ed5f5ad7a1f649b1f
Author: Ryan Sepassi <rsepassi@gmail.com>
Date:   Thu, 16 Jul 2026 10:37:30 -0700

install: retain missing-directory usage error

Diffstat:
Mdriver/cmd/install.c | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/driver/cmd/install.c b/driver/cmd/install.c @@ -86,10 +86,14 @@ int driver_install(int argc, char** argv) { unsigned done_count = 0, failures = 0; int i, rc = 2; - if (argc < 2 || driver_argv_wants_help(argc, argv, 1)) { + if (driver_argv_wants_help(argc, argv, 1)) { driver_help_install(); return 0; } + if (argc < 2) { + driver_errf(INSTALL_TOOL, "missing target directory"); + return 2; + } driver_env_init(&env);