Handle the case of unresolveable ambiguity in --list now too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6be23c2a23
commit
1320281c89
@ -582,7 +582,7 @@ if [ -n "$output_option_list" ]; then
|
||||
|
||||
echo " Specification best match: $_best_delegate"
|
||||
|
||||
elif [ -n "_delegates" ]; then
|
||||
elif [ -z "$_delegates" ]; then
|
||||
|
||||
cat <<-EOF
|
||||
No config found to match: $config_spec
|
||||
@ -593,11 +593,13 @@ if [ -n "$output_option_list" ]; then
|
||||
you may call its wx-config directly by specifying its full path.
|
||||
|
||||
EOF
|
||||
exit 1
|
||||
|
||||
else
|
||||
echo " Specification was ambiguous. Use additional feature options"
|
||||
echo " to choose between alternate matches."
|
||||
fi
|
||||
|
||||
_delegates=$(remove_field $_best_delegate $_delegates)
|
||||
[ -z "$_best_delegate" ] || _delegates=$(remove_field $_best_delegate $_delegates)
|
||||
|
||||
if [ -n "$_delegates" ]; then
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user