diff options
author | Joel Martinez <joelmartinez@gmail.com> | 2018-03-07 01:40:40 +0300 |
---|---|---|
committer | Joel Martinez <joelmartinez@gmail.com> | 2018-03-07 01:40:40 +0300 |
commit | fe24d6c7520b0d4789d0b889baae1625d8d3e815 (patch) | |
tree | 203d270aea81a12a31b7669f30edb6216583d608 | |
parent | 144477977efcd71aa063d3a474c6caa0131f147e (diff) |
WIP: changed version writing to only be in update by defaultmdoc-5.5.1-preview3
-rw-r--r-- | mdoc/Makefile | 2 | ||||
-rw-r--r-- | mdoc/Mono.Documentation/MDocUpdater.cs | 2 | ||||
-rw-r--r-- | mdoc/Mono.Documentation/mdoc.cs | 4 |
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."); |