projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Reformat detailed member documentation
[senf.git]
/
Console
/
Executor.cc
diff --git
a/Console/Executor.cc
b/Console/Executor.cc
index
a7db590
..
4d9b2f9
100644
(file)
--- a/
Console/Executor.cc
+++ b/
Console/Executor.cc
@@
-60,7
+60,7
@@
prefix_ void senf::console::Executor::execute(std::ostream & output,
GenericNode & node ( traverseCommand(command.commandPath()) );
DirectoryNode * dir ( dynamic_cast<DirectoryNode*>(&node) );
if ( dir ) {
- if (autocd_) {
+ if (autocd_ && command.arguments().empty()) {
oldCwd_ = cwd_;
cwd_ = dir->thisptr();
} else