summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2005-10-11 00:46:47 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2005-10-11 00:46:47 +0000
commitb640eddcf06cae34b4ddbf20e6eff43644ccf6ff (patch)
treecba0c59e077cda8f00e4ab57da527b96b905eade
parent3ffdee627f58dd33c027093cdc75bc56a1d55efe (diff)
Be more explicit in error prompt. ok deraadt.
-rw-r--r--usr.bin/mg/echo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/echo.c b/usr.bin/mg/echo.c
index 79405202862..bfcc7b09276 100644
--- a/usr.bin/mg/echo.c
+++ b/usr.bin/mg/echo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: echo.c,v 1.36 2005/08/09 00:53:48 kjell Exp $ */
+/* $OpenBSD: echo.c,v 1.37 2005/10/11 00:46:46 kjell Exp $ */
/* This file is in the public domain. */
@@ -368,7 +368,7 @@ complt(int flags, int c, char *buf, size_t nbuf, int cpos)
if (nhits == 0)
msg = " [No match]";
else if (nhits > 1 && nxtra == 0)
- msg = " [Ambiguous]";
+ msg = " [Ambiguous. Ctrl-G to cancel]";
else {
/*
* Being lazy - ought to check length, but all things