You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2021/09/12 19:38:25 UTC
[maven-scm] branch SCM-967 created (now 09f85ce)
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a change to branch SCM-967
in repository https://gitbox.apache.org/repos/asf/maven-scm.git.
at 09f85ce [SCM-967] MavenScmCli requires at least three args not les[SCM-967] MavenScmCli requires at least three args not less
This branch includes the following new commits:
new 09f85ce [SCM-967] MavenScmCli requires at least three args not les[SCM-967] MavenScmCli requires at least three args not less
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[maven-scm] 01/01: [SCM-967] MavenScmCli requires at least three
args not les[SCM-967] MavenScmCli requires at least three args not less
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch SCM-967
in repository https://gitbox.apache.org/repos/asf/maven-scm.git
commit 09f85ce4925faa2dad03896005848fb3c3d1fef8
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sun Sep 12 21:38:02 2021 +0200
[SCM-967] MavenScmCli requires at least three args not les[SCM-967] MavenScmCli requires at least three args not less
---
.../src/main/java/org/apache/maven/scm/client/cli/MavenScmCli.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/maven-scm-client/src/main/java/org/apache/maven/scm/client/cli/MavenScmCli.java b/maven-scm-client/src/main/java/org/apache/maven/scm/client/cli/MavenScmCli.java
index c1a08bf..66a281e 100644
--- a/maven-scm-client/src/main/java/org/apache/maven/scm/client/cli/MavenScmCli.java
+++ b/maven-scm-client/src/main/java/org/apache/maven/scm/client/cli/MavenScmCli.java
@@ -102,7 +102,7 @@ public class MavenScmCli
String command;
- if ( args.length != 3 )
+ if ( args.length < 3 )
{
System.err.println(
"Usage: maven-scm-client <command> <working directory> <scm url> [<scmVersion> [<scmVersionType>]]" );