From a3273c7978ef33607ab73b614c5b4ea4b787b32a Mon Sep 17 00:00:00 2001 From: rpopma Date: Sun, 23 Apr 2017 16:29:49 +0900 Subject: [PATCH] 0.9.3 doc fixes --- build.gradle | 6 +++--- docs/index.adoc | 6 ++++-- docs/index.html | 7 +++++-- src/main/java/picocli/CommandLine.java | 2 +- src/test/java/picocli/CommandLineTest.java | 2 +- 5 files changed, 14 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 331319f89..fd60aa618 100644 --- a/build.gradle +++ b/build.gradle @@ -1,9 +1,9 @@ group 'info.picocli' -version '0.9.4-SNAPSHOT' +version '0.9.3' // for bumpVersion task -def oldVersion = '0.9.3' -def oldRevdate = '2017-04-23' +def oldVersion = '0\\.9\\.3' +def oldRevdate = '2017\\-04\\-23' def revDate = '2017-04-23' buildscript { diff --git a/docs/index.adoc b/docs/index.adoc index 898e6d5e9..f15c956e3 100644 --- a/docs/index.adoc +++ b/docs/index.adoc @@ -1,7 +1,7 @@ = picocli - a mighty tiny Command Line Interface :author: Remko Popma :email: rpopma@apache.org -:revnumber: 0.9.4-SNAPSHOT +:revnumber: 0.9.3 :revdate: 2017-04-23 :toc: left :numbered: @@ -988,7 +988,7 @@ For example, `@|bg(red) text with red background|@`. Similarly, `fg()` explicitly sets the foreground color. Custom RGB https://en.wikipedia.org/wiki/ANSI_escape_code#Colors[colors] (ISO-8613-3 24-bit foreground and background colors) can be specified in any format supported by the `Color.decode()` method. -For example, `fg(0.9.4-SNAPSHOT3EE)` renders a color equivalent to `java.awt.Color.decode(Ox9933EE)`. +For example, `fg(Ox9933EE)` renders a color equivalent to `java.awt.Color.decode(Ox9933EE)`. CAUTION: Not all terminals support ISO-8613-3. @@ -1269,6 +1269,8 @@ Picocli API Javadoc can be found https://remkop.github.io/picocli/apidocs[here]. == GitHub Project The https://github.com/remkop/picocli[GitHub project] has the source code, tests, build scripts, etc. +(Star this project on GitHub if you like it!) + == Issue Tracker Please use the https://github.com/remkop/picocli/issues[Issue Tracker] to report bugs or request features. diff --git a/docs/index.html b/docs/index.html index ac6d31825..0250835ac 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2046,7 +2046,7 @@

9.3.3. Custom Styles and Colors

Custom RGB colors (ISO-8613-3 24-bit foreground and background colors) can be specified in any format supported by the Color.decode() method. -For example, fg(0.9.33EE) renders a color equivalent to java.awt.Color.decode(Ox9933EE).

+For example, fg(Ox9933EE) renders a color equivalent to java.awt.Color.decode(Ox9933EE).

@@ -2404,6 +2404,9 @@

15. GitHub Project

The GitHub project has the source code, tests, build scripts, etc.

+
+

(Star this project on GitHub if you like it!)

+
@@ -5680,7 +5683,7 @@

19. Download

diff --git a/src/main/java/picocli/CommandLine.java b/src/main/java/picocli/CommandLine.java index ee6ebd2b4..817d1de63 100644 --- a/src/main/java/picocli/CommandLine.java +++ b/src/main/java/picocli/CommandLine.java @@ -118,7 +118,7 @@ */ public class CommandLine { /** This is picocli version {@value}. */ - public static final String VERSION = "0.9.4-SNAPSHOT"; + public static final String VERSION = "0.9.3"; /** Set this field to {@code true} to force ANSI escape sequences on, or to {@code false} to force ANSI escape * sequences off. The default ({@code null}) is to enable ANSI escape sequences on supported platforms. */ diff --git a/src/test/java/picocli/CommandLineTest.java b/src/test/java/picocli/CommandLineTest.java index 0c1d8399d..0b363a4f1 100644 --- a/src/test/java/picocli/CommandLineTest.java +++ b/src/test/java/picocli/CommandLineTest.java @@ -82,7 +82,7 @@ public class CommandLineTest { @Test public void testVersion() { - assertEquals("0.9.4-SNAPSHOT", CommandLine.VERSION); + assertEquals("0.9.3", CommandLine.VERSION); } private static class SupportedTypes {