[spring-extensions] branch main updated: Add usual convention of ? for help parameter.

Scott Cantor cantor.2 at osu.edu
Wed Sep 30 14:05:07 UTC 2020


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository spring-extensions.

View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=71f13cd347decc302ad922f373e2fee07493c4a5

The following commit(s) were added to refs/heads/main by this push:
       new  71f13cd   Add usual convention of ? for help parameter.
71f13cd is described below

commit 71f13cd347decc302ad922f373e2fee07493c4a5
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Sep 30 10:05:05 2020 -0400

    Add usual convention of ? for help parameter.
---
 .../net/shibboleth/ext/spring/cli/AbstractCommandLineArguments.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/net/shibboleth/ext/spring/cli/AbstractCommandLineArguments.java b/src/main/java/net/shibboleth/ext/spring/cli/AbstractCommandLineArguments.java
index 545e1e7..cf3a1e3 100644
--- a/src/main/java/net/shibboleth/ext/spring/cli/AbstractCommandLineArguments.java
+++ b/src/main/java/net/shibboleth/ext/spring/cli/AbstractCommandLineArguments.java
@@ -67,7 +67,7 @@ public abstract class AbstractCommandLineArguments implements CommandLineArgumen
     /**
      * Help has been requested.
      */
-    @Parameter(names = "--help", help=true)
+    @Parameter(names = {"-?", "--help"}, help=true)
     private boolean help;
 
     /**

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list