This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit f06d89ad54b78f27b9bced7b30a37466a2c808a1
Author: Martin Desruisseaux <martin.desruisse...@geomatys.com>
AuthorDate: Thu Feb 1 18:46:27 2024 +0100

    Change the order of options for the "transform" command.
    It is less confusing to see the "--inverse" option before "--operation".
---
 .../main/org/apache/sis/console/TransformCommand.java                   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/endorsed/src/org.apache.sis.console/main/org/apache/sis/console/TransformCommand.java
 
b/endorsed/src/org.apache.sis.console/main/org/apache/sis/console/TransformCommand.java
index b3fc3640f8..057cfb13d4 100644
--- 
a/endorsed/src/org.apache.sis.console/main/org/apache/sis/console/TransformCommand.java
+++ 
b/endorsed/src/org.apache.sis.console/main/org/apache/sis/console/TransformCommand.java
@@ -181,7 +181,7 @@ final class TransformCommand extends FormattedOutputCommand 
{
      * Returns valid options for the {@code "transform"} commands.
      */
     private static EnumSet<Option> options() {
-        return EnumSet.of(Option.SOURCE_CRS, Option.TARGET_CRS, 
Option.OPERATION, Option.INVERSE, Option.VERBOSE,
+        return EnumSet.of(Option.INVERSE, Option.SOURCE_CRS, 
Option.TARGET_CRS, Option.OPERATION, Option.VERBOSE,
                 Option.LOCALE, Option.TIMEZONE, Option.ENCODING, 
Option.COLORS, Option.HELP, Option.DEBUG);
     }
 

Reply via email to