mirror of https://gitee.com/bigwinds/arangodb
Bug fix 3.4/fix arangosh documentation paste (#9744)
* fix pasting from the documentation * CHANGELOG * Update CHANGELOG
This commit is contained in:
parent
562ee69ca4
commit
4febe0ecd2
|
@ -1,6 +1,8 @@
|
|||
v3.4.8 (XXXX-XX-XX)
|
||||
-------------------
|
||||
|
||||
* Fixed cut'n'pasting code from the documentation into arangosh.
|
||||
|
||||
* Refactor maintenance to use a TakeoverShardLeadership job. This fixes a bug
|
||||
that a shard follower could have set the wrong leader for the shard locally.
|
||||
|
||||
|
|
|
@ -118,6 +118,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