]> git.lyx.org Git - features.git/blobdiff - src/LyXAction.cpp
Add decent UI for VC_COMPARE
[features.git] / src / LyXAction.cpp
index 963cfd2b1adfbe45b295783694ea622a6d3fda57..1a55e24044db3f76c3cb512b911a8a5e3d924d2a 100644 (file)
@@ -2192,13 +2192,14 @@ void LyXAction::init()
  * \var lyx::FuncCode lyx::LFUN_VC_COMPARE
  * \li Action: Compares two revisions of the same file under version control.
  * \li Notion: This is currently implemented only for SVN and RCS.
- * \li Syntax: vc-compare <REV1> [<REV2>]
+ * \li Syntax: vc-compare [<REV1>] [<REV2>]
  * \li Params: Revision number either points directly to commit in history
-               or if negative number -x it points to last commit - x.\n
+               or if negative number -x it points to (last commit - x).\n
               In RCS we subtract only in the last number of revision specification.
                Special case "0" is reserved for the last committed revision.\n
                <REV1>: Older file.\n
-              <REV2>: Newer file. Used only if REV1 > 0.
+              <REV2>: Newer file. Used only if REV1 > 0.\n
+               If no parameter is given, interactive dialog will be shown.
  * \li Sample: Compare current document against last commit\n
                vc-compare 0
  * \li Sample: Compare current document against current revision - 5 commits\n