mirror of https://gitee.com/bigwinds/arangodb
Bug fix 3.5/fix arangosh documentation paste (#9743)
* fix pasting from the documentation * CHANGELOG * Update CHANGELOG
This commit is contained in:
parent
5effbfd35a
commit
7fac859524
|
@ -1,6 +1,8 @@
|
|||
v3.5.1 (XXXX-XX-XX)
|
||||
-------------------
|
||||
|
||||
* Fixed cut'n'pasting code from the documentation into arangosh.
|
||||
|
||||
* Fixed issue #9652: fix ArangoSearch wrong name collision and raising
|
||||
"Name collision detected" error during creation of a custom analyzer with
|
||||
stopwords.
|
||||
|
|
|
@ -120,6 +120,9 @@ std::string ShellBase::prompt(std::string const& prompt,
|
|||
|
||||
if (StringUtils::isPrefix(line, plain)) {
|
||||
pos = line.find('>');
|
||||
// The documentation has this, so we ignore it:
|
||||
} else if (StringUtils::isPrefix(line, "arangosh>")) {
|
||||
pos = line.find('>');
|
||||
} else if (StringUtils::isPrefix(line, "...")) {
|
||||
pos = line.find('>');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue