summaryrefslogtreecommitdiff
path: root/builtin-init-db.c
diff options
context:
space:
mode:
authorLibravatar Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk>2006-08-03 16:48:41 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2006-08-03 21:44:13 -0700
commit8cdf33643dc0b21d9ea922a3fdd7f64226c421aa (patch)
treec36d293c18ea9c254e68c639de46f612ba1134f6 /builtin-init-db.c
parentFixup command names in some usage strings. (diff)
downloadtgif-8cdf33643dc0b21d9ea922a3fdd7f64226c421aa.tar.xz
Replace some calls to die(usage_str) with usage(usage_str).
The only change in behaviour should be having a "usage: " prefix on the output string rather than "fatal: ", and an exit code of 129 rather than 128. Signed-off-by: Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-init-db.c')
-rw-r--r--builtin-init-db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-init-db.c b/builtin-init-db.c
index 52473edf56..5085018e46 100644
--- a/builtin-init-db.c
+++ b/builtin-init-db.c
@@ -267,7 +267,7 @@ int cmd_init_db(int argc, const char **argv, const char *prefix)
else if (!strncmp(arg, "--shared=", 9))
shared_repository = git_config_perm("arg", arg+9);
else
- die(init_db_usage);
+ usage(init_db_usage);
}
/*