From 70b48559b3d37c37aa5a3c96c5c39d5543e3afdc Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Thu, 30 Mar 2023 23:31:23 +0200 Subject: [PATCH] Using new default mode; #19 --- README.md | 2 ++ .../java/com/helger/en16931/cii2ubl/cli/CIIToUBLConverter.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0e384a9..893bd6d 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,8 @@ CII to UBL Converter for EN 16931 invoices # News and noteworthy +* v2.0.2 - 2023-03-30 + * Changed the default mode of the CLI version from `INVOICE` to `AUTOMATIC`. See [issue #19](https://github.com/phax/en16931-cii2ubl/issues/19) - thanks @msccip * v2.0.1 - 2023-03-15 * Added manual wildcard expansion of filenames * Added new CLI option `--disable-wildcard-expansion` to disable the wildcard expansion and stick to the old resolution logic diff --git a/en16931-cii2ubl-cli/src/main/java/com/helger/en16931/cii2ubl/cli/CIIToUBLConverter.java b/en16931-cii2ubl-cli/src/main/java/com/helger/en16931/cii2ubl/cli/CIIToUBLConverter.java index 8369a75..7efcb6f 100644 --- a/en16931-cii2ubl-cli/src/main/java/com/helger/en16931/cii2ubl/cli/CIIToUBLConverter.java +++ b/en16931-cii2ubl-cli/src/main/java/com/helger/en16931/cii2ubl/cli/CIIToUBLConverter.java @@ -71,7 +71,7 @@ public class CIIToUBLConverter implements Callable @Option (names = "--ubl", paramLabel = "version", defaultValue = "2.1", description = "Version of the target UBL Format: '2.1', '2.2' or '2.3' (default: ${DEFAULT-VALUE})") private String m_sUBLVersion; - @Option (names = "--mode", paramLabel = "mode", defaultValue = "INVOICE", description = "Allowed values: ${COMPLETION-CANDIDATES} (default: ${DEFAULT-VALUE})") + @Option (names = "--mode", paramLabel = "mode", defaultValue = "AUTOMATIC", description = "Allowed values: ${COMPLETION-CANDIDATES} (default: ${DEFAULT-VALUE})") private EUBLCreationMode m_eMode; @Option (names = { "-t",