Commit 9ade4da7 authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

added release option

parent b7d193a3
......@@ -47,11 +47,15 @@ public class CMDConfigurations {
public static final String ARG_IGNORE_TERMS = "t";
public static final String ARG_IGNORE_TERMS_LONG = "no-terms";
public static final String ARG_IGNORE_TERMS_MAN = "Do not generate the website for terms";
public static final String ARG_INCLUDE_MASTER = "m";
public static final String ARG_INCLUDE_MASTER_LONG = "master";
public static final String ARG_INCLUDE_MASTER_MAN = "Check the master branches of the remote repositories listed in the `.saref-repositories.yml` document";
public static final String ARG_RELEASE = "x";
public static final String ARG_RELEASE_LONG = "release";
public static final String ARG_RELEASE_MAN = "Run in strict mode, only when on a branch `prerelease-vx.y.z` or `release-vx.y.z`";
public static final String ARG_VERBOSE = "v";
public static final String ARG_VERBOSE_LONG = "verbose";
public static final String ARG_VERBOSE_MAN = "Use verbose mode. (For example, use SPARQL-Generate in --debug-template mode when generating the documentation)";
......@@ -72,6 +76,7 @@ public class CMDConfigurations {
.addOption(ARG_IGNORE_GIT, ARG_IGNORE_GIT_LONG, false, ARG_IGNORE_GIT_MAN)
.addOption(ARG_NO_SITE, ARG_NO_SITE_LONG, false, ARG_NO_SITE_MAN)
.addOption(ARG_INCLUDE_MASTER, ARG_INCLUDE_MASTER_LONG, false, ARG_INCLUDE_MASTER_MAN)
.addOption(ARG_RELEASE, ARG_RELEASE_LONG, false, ARG_RELEASE_MAN)
.addOption(ARG_VERBOSE, ARG_VERBOSE_LONG, false, ARG_VERBOSE_MAN);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment