]> git.lyx.org Git - features.git/commitdiff
Add dbg
authorPavel Sanda <sanda@lyx.org>
Thu, 26 Feb 2009 00:06:20 +0000 (00:06 +0000)
committerPavel Sanda <sanda@lyx.org>
Thu, 26 Feb 2009 00:06:20 +0000 (00:06 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28616 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyX.cpp
src/LyXAction.cpp

index c056d0310757092e7e8ecdb26a5a7e36d807a7f7..c62bb5e685582a2c35d71bd0a5b28d3f790d6669 100644 (file)
@@ -300,6 +300,7 @@ int LyX::exec(int & argc, char * argv[])
                        vector<string>::const_iterator bcit  = pimpl_->batch_commands.begin();
                        vector<string>::const_iterator bcend = pimpl_->batch_commands.end();
                        for (; bcit != bcend; bcit++) {
+                               LYXERR(Debug::ACTION, "Buffer::dispatch: cmd: " << *bcit);
                                buf->dispatch(*bcit, &success);
                                final_success |= success;
                        }
index a979cb67d90120e4d0123e145f7dfd9f210d1276..c7396c24d1f8a56393412b60983f1b86782cf009 100644 (file)
@@ -3140,7 +3140,7 @@ void LyXAction::init()
  * \li Action: Activate the branch
  * \li Syntax: branch-activate <BRANCH>
  * \li Params: <BRANCH>: The branch to activate
- * \li Sample: lyx -x "branch-activate answers" -e pdf2  finalexam.lyx \n
+ * \li Sample: lyx -x "branch-activate answers" -e pdf2 finalexam.lyx \n
                could be used to export a pdf with the answers branch included
                without one's having to open LyX and activate the branch manually.
  * \li Origin: rgh, 27 May 2008