Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Martinez <joelmartinez@gmail.com>2018-03-07 01:40:40 +0300
committerJoel Martinez <joelmartinez@gmail.com>2018-03-07 01:40:40 +0300
commitfe24d6c7520b0d4789d0b889baae1625d8d3e815 (patch)
tree203d270aea81a12a31b7669f30edb6216583d608
parent144477977efcd71aa063d3a474c6caa0131f147e (diff)
WIP: changed version writing to only be in update by defaultmdoc-5.5.1-preview3
-rw-r--r--mdoc/Makefile2
-rw-r--r--mdoc/Mono.Documentation/MDocUpdater.cs2
-rw-r--r--mdoc/Mono.Documentation/mdoc.cs4
3 files changed, 5 insertions, 3 deletions
diff --git a/mdoc/Makefile b/mdoc/Makefile
index 7c4b0fd2..a25bd358 100644
--- a/mdoc/Makefile
+++ b/mdoc/Makefile
@@ -594,7 +594,7 @@ check-mdoc-export-msxdoc-update:
check-mdoc-export-msxdoc:
$(MONO) $(PROGRAM) export-msxdoc -o - Test/en.expected.importslashdoc \
- | $(DIFF_QUIET) - Test/msxdoc-expected.importslashdoc.xml
+ | $(DIFF) - Test/msxdoc-expected.importslashdoc.xml
my_abs_top_srcdir = $(shell cd . && pwd)
diff --git a/mdoc/Mono.Documentation/MDocUpdater.cs b/mdoc/Mono.Documentation/MDocUpdater.cs
index dacaced4..eecebb2c 100644
--- a/mdoc/Mono.Documentation/MDocUpdater.cs
+++ b/mdoc/Mono.Documentation/MDocUpdater.cs
@@ -127,6 +127,8 @@ namespace Mono.Documentation
public override void Run (IEnumerable<string> args)
{
+ Console.WriteLine ("mdoc {0}", Consts.MonoVersion);
+
Instance = this;
show_exceptions = DebugOutput;
var types = new List<string> ();
diff --git a/mdoc/Mono.Documentation/mdoc.cs b/mdoc/Mono.Documentation/mdoc.cs
index c21fee9f..4b0a63ba 100644
--- a/mdoc/Mono.Documentation/mdoc.cs
+++ b/mdoc/Mono.Documentation/mdoc.cs
@@ -63,9 +63,9 @@ namespace Mono.Documentation {
var extra = p.Parse (args);
- if (true) {
+ if (showVersion) {
Console.WriteLine ("mdoc {0}", Consts.MonoVersion);
- //return;
+ return;
}
if (extra.Count == 0) {
Console.WriteLine ("Use `mdoc help' for usage.");