From 6334091d8655af8ce348dd638d5d13d19aaa276d Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 9 Nov 2006 23:19:52 +0000 Subject: [PATCH] omit usage msg if small --- funcs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/funcs.c b/funcs.c index 1ca4007..af4b363 100644 --- a/funcs.c +++ b/funcs.c @@ -5,7 +5,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.31 2006/11/09 22:18:10 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.32 2006/11/09 23:19:52 tg Exp $"); int c_cd(char **wp) @@ -1135,9 +1135,11 @@ c_kill(char **wp) i = builtin_opt.optind; } if ((lflag && t) || (!wp[i] && !lflag)) { +#ifndef MKSH_SMALL shf_fprintf(shl_out, "Usage: kill [ -s signame | -signum | -signame ] {pid|job}...\n" " kill -l [exit_status]\n"); +#endif bi_errorf(null); return 1; }