Skip to content

Commit

Permalink
0.9.3 doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Apr 23, 2017
1 parent 575806e commit a3273c7
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
6 changes: 4 additions & 2 deletions docs/index.adoc
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -988,7 +988,7 @@ For example, `@|bg(red) text with red background|@`.
Similarly, `fg(<color>)` 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.

Expand Down Expand Up @@ -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.

Expand Down
7 changes: 5 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2046,7 +2046,7 @@ <h4 id="_custom_styles_and_colors">9.3.3. Custom Styles and Colors</h4>
</div>
<div class="paragraph">
<p>Custom RGB <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#Colors">colors</a> (ISO-8613-3 24-bit foreground and background colors) can be specified in any format supported by the <code>Color.decode()</code> method.
For example, <code>fg(0.9.33EE)</code> renders a color equivalent to <code>java.awt.Color.decode(Ox9933EE)</code>.</p>
For example, <code>fg(Ox9933EE)</code> renders a color equivalent to <code>java.awt.Color.decode(Ox9933EE)</code>.</p>
</div>
<div class="admonitionblock caution">
<table>
Expand Down Expand Up @@ -2404,6 +2404,9 @@ <h2 id="_github_project">15. GitHub Project</h2>
<div class="paragraph">
<p>The <a href="https://github.com/remkop/picocli">GitHub project</a> has the source code, tests, build scripts, etc.</p>
</div>
<div class="paragraph">
<p>(Star this project on GitHub if you like it!)</p>
</div>
</div>
</div>
<div class="sect1">
Expand Down Expand Up @@ -5680,7 +5683,7 @@ <h2 id="_download">19. Download</h2>
<div id="footer">
<div id="footer-text">
Version 0.9.3<br>
Last updated 2017-04-23 14:40:11 +09:00
Last updated 2017-04-23 16:19:31 +09:00
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/picocli/CommandLine.java
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/picocli/CommandLineTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a3273c7

Please sign in to comment.