From 5d2456ad905e7da113298b1ce9fa57c6e8290b17 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Thu, 26 Feb 2009 00:06:20 +0000 Subject: [PATCH] Add dbg git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28616 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyX.cpp | 1 + src/LyXAction.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/LyX.cpp b/src/LyX.cpp index c056d03107..c62bb5e685 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -300,6 +300,7 @@ int LyX::exec(int & argc, char * argv[]) vector::const_iterator bcit = pimpl_->batch_commands.begin(); vector::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; } diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index a979cb67d9..c7396c24d1 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -3140,7 +3140,7 @@ void LyXAction::init() * \li Action: Activate the branch * \li Syntax: branch-activate * \li Params: : 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 -- 2.39.2