From a81f280bfa185ba1df9c5ffee535631e4f1736f4 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 24 Nov 2016 06:57:52 +0000 Subject: 40010: builtins: Say 'bad option: +x', not 'bad option: -x', when +x was passed. --- Test/A02alias.ztst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Test/A02alias.ztst') diff --git a/Test/A02alias.ztst b/Test/A02alias.ztst index 1e09cd3f1..e52578ec3 100644 --- a/Test/A02alias.ztst +++ b/Test/A02alias.ztst @@ -110,3 +110,8 @@ 127:No endless loop with suffix alias in command position >You said it. ?(eval):1: command not found: thingummy.mysuff + + alias +x; alias -z +1:error message has the correct sign +?(eval):alias:1: bad option: +x +?(eval):alias:1: bad option: -z -- cgit 1.4.1