tmp
This commit is contained in:
parent
18309164e6
commit
7f1fa02ba3
3 changed files with 6 additions and 5 deletions
|
|
@ -5,11 +5,12 @@
|
|||
|
||||
#include <sstream>
|
||||
|
||||
// in subtree links should be in-tree after copy operation
|
||||
// use C:/ for root
|
||||
// links have unique names
|
||||
// tests
|
||||
// links have unique names
|
||||
// use C:/ for root
|
||||
// copy operator exit if exists, do not rename
|
||||
// clean-ups
|
||||
// in subtree links should be in-tree after copy operation
|
||||
|
||||
class FileSystem {
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ std::shared_ptr<Node> FileSystem::getNode(const Path& path, bool parent) {
|
|||
|
||||
bool FileSystem::changeCurrent(const Path& path) {
|
||||
if (path.isInvalid()) {
|
||||
gError = "Invalid path";
|
||||
gError = "Path not found";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ bool Interpreter::interpret(const std::string& command) {
|
|||
}
|
||||
|
||||
if (iter->second.numArguments != words.size() - 1) {
|
||||
reportError("invalid number of arguments given");
|
||||
reportError("Invalid number of arguments given for: " + commandName);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue