diff options
author | Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk> | 2006-08-03 19:48:41 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-04 08:44:13 +0400 |
commit | 8cdf33643dc0b21d9ea922a3fdd7f64226c421aa (patch) | |
tree | c36d293c18ea9c254e68c639de46f612ba1134f6 /builtin-add.c | |
parent | 15e593e4d37d1d350fef20ab666d58f6881c7f5f (diff) |
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-add.c')
-rw-r--r-- | builtin-add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-add.c b/builtin-add.c index f548b8007d..096b611b5b 100644 --- a/builtin-add.c +++ b/builtin-add.c @@ -117,7 +117,7 @@ int cmd_add(int argc, const char **argv, const char *prefix) verbose = 1; continue; } - die(builtin_add_usage); + usage(builtin_add_usage); } pathspec = get_pathspec(prefix, argv + i); |