mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
show all paths discovered when a path is ambiguous (via error<<)
git-svn-id: svn://localhost/ardour2/branches/3.0@10529 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f96ccb1958
commit
bcf500a351
1 changed files with 8 additions and 1 deletions
|
|
@ -294,7 +294,14 @@ path_expand (string path)
|
|||
}
|
||||
|
||||
if (expansion.we_wordc > 1) {
|
||||
error << string_compose (_("path (%1) is ambiguous"), path) << endmsg;
|
||||
string all;
|
||||
for (unsigned int i = 0; i < expansion.we_wordc; ++i) {
|
||||
if (i > 0) {
|
||||
all += " | ";
|
||||
}
|
||||
all += expansion.we_wordv[i];
|
||||
}
|
||||
error << string_compose (_("path (%1) is ambiguous: %2"), path, all) << endmsg;
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue