diff --git a/cppref b/cppref index 2b64686..f618777 100755 --- a/cppref +++ b/cppref @@ -42,7 +42,7 @@ if (@cand == 0) { open_file($cand[0]); } else { print STDERR "multiple choices:\n"; - print map { s{$doc_dir/}{}; s{(/start|)\.html$}{}; " $_\n" } @cand; + print map { s{$doc_dir/}{}; s{(/start|)\.html$}{}; s{/}{::}g; " $_\n" } @cand; exit 2; }