Skip to content

Commit

Permalink
[#1130] fix version number in user manual
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Aug 3, 2020
1 parent 4d6065e commit 0120d3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Now, assuming we created a jar named `checksum.jar` containing our compiled `Che

[source,bash]
----
java -cp "picocli-4.4.1-SNAPSHOT.jar:checksum.jar" CheckSum --algorithm SHA-1 hello.txt
java -cp "picocli-4.5.0.jar:checksum.jar" CheckSum --algorithm SHA-1 hello.txt
----

You may want to package your application in such a way that end users can invoke it with a short command like this:
Expand Down Expand Up @@ -6836,7 +6836,7 @@ As mentioned in <<Running the Application>>, earlier in this manual, one way to

[source,bash]
----
java -cp "picocli-4.4.1-SNAPSHOT.jar;myapp.jar" org.myorg.MyMainClass --option=value arg0 arg1
java -cp "picocli-4.5.0.jar;myapp.jar" org.myorg.MyMainClass --option=value arg0 arg1
----

That is quite verbose. You may want to package your application in such a way that end users can invoke it by its command name like this:
Expand All @@ -6855,7 +6855,7 @@ On unix-based operating systems, you can ask your users to define an alias. For

[source,bash]
----
alias mycommand='java -cp "/path/to/picocli-4.4.1-SNAPSHOT.jar:/path/to/myapp.jar" org.myorg.MainClass'
alias mycommand='java -cp "/path/to/picocli-4.5.0.jar:/path/to/myapp.jar" org.myorg.MainClass'
----

Append the above line to your `~/.bashrc` file to make this alias available in every new shell session.
Expand Down
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ <h3 id="_running_the_application"><a class="anchor" href="#_running_the_applicat
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight"><code data-lang="bash">java -cp &quot;picocli-4.4.1-SNAPSHOT.jar:checksum.jar&quot; CheckSum --algorithm SHA-1 hello.txt</code></pre>
<pre class="CodeRay highlight"><code data-lang="bash">java -cp &quot;picocli-4.5.0.jar:checksum.jar&quot; CheckSum --algorithm SHA-1 hello.txt</code></pre>
</div>
</div>
<div class="paragraph">
Expand Down Expand Up @@ -10181,7 +10181,7 @@ <h2 id="_packaging_your_application"><a class="anchor" href="#_packaging_your_ap
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight"><code data-lang="bash">java -cp &quot;picocli-4.4.1-SNAPSHOT.jar;myapp.jar&quot; org.myorg.MyMainClass --option=value arg0 arg1</code></pre>
<pre class="CodeRay highlight"><code data-lang="bash">java -cp &quot;picocli-4.5.0.jar;myapp.jar&quot; org.myorg.MyMainClass --option=value arg0 arg1</code></pre>
</div>
</div>
<div class="paragraph">
Expand All @@ -10205,7 +10205,7 @@ <h3 id="_alias"><a class="anchor" href="#_alias"></a>28.1. Alias</h3>
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight"><code data-lang="bash">alias mycommand='java -cp &quot;/path/to/picocli-4.4.1-SNAPSHOT.jar:/path/to/myapp.jar&quot; org.myorg.MainClass'</code></pre>
<pre class="CodeRay highlight"><code data-lang="bash">alias mycommand='java -cp &quot;/path/to/picocli-4.5.0.jar:/path/to/myapp.jar&quot; org.myorg.MainClass'</code></pre>
</div>
</div>
<div class="paragraph">
Expand Down

0 comments on commit 0120d3a

Please sign in to comment.