cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1195974 - /cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/CliOptions.java
Date Tue, 01 Nov 2011 13:06:13 GMT
Author: simonetripodi
Date: Tue Nov  1 13:06:13 2011
New Revision: 1195974

URL: http://svn.apache.org/viewvc?rev=1195974&view=rev
Log:
added option that, when turned on, allows the program print the pipelines TOC only (like `ant
-p`)

Modified:
    cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/CliOptions.java

Modified: cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/CliOptions.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/CliOptions.java?rev=1195974&r1=1195973&r2=1195974&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/CliOptions.java (original)
+++ cocoon/cocoon3/trunk/cocoon-cli/src/main/java/org/apache/cocoon/cli/CliOptions.java Tue
Nov  1 13:06:13 2011
@@ -43,6 +43,9 @@ public final class CliOptions
     @Parameter( description = "Pipeline IDs." )
     private List<String> pipelineIDs = new ArrayList<String>();
 
+    @Parameter( names = { "-p", "--pipeshelp" }, description = "Print pipelines help information."
)
+    private boolean pipesHelp = false;
+
     public boolean isPrintHelp()
     {
         return printHelp;
@@ -68,6 +71,11 @@ public final class CliOptions
         return pipelineIDs;
     }
 
+    public boolean isPipesHelp()
+    {
+        return pipesHelp;
+    }
+
     public static class FileConverter
         implements IStringConverter<File>
     {



Mime
View raw message