The documentation for the update-to-tag command mentions the strict option, but using it results in an error.
In Liquibase 4.30.0 and later, you can set the --strict parameter to true to ensure that Liquibase requires you to specify a valid tag before running the command.
liquibase.bat --defaultsFile=liquibase-dev.properties update-to-tag --context-filter=dev --strict=true --tag=“2026.05.12.090100”
Unexpected argument(s): --strict=true
For detailed help, try ‘liquibase --help’ or ‘liquibase --help’
The help section doesn’t mention this option .
Is this a mistake in the documentation, am I missing something, or is it a bug?
Thank you very much,
Andreas
p.s. Version
Starting Liquibase at 13:28:05 using Java 21.0.7 (version 5.0.2 #10172 built at 2026-03-04 00:27+0000)
Liquibase Version: 5.0.2
It’s really embarrassing, but I found my mistake—it’s a global parameter. When I set it now, I get the following error:
liquibase.bat --defaultsFile=liquibase-dev.properties status --context-filter=dev --verbose=true
Starting Liquibase at 08:44:42 using Java 21.0.7 (version 5.0.2 #10172 built at 2026-03-04 00:27+0000)
Liquibase Version: 5.0.2
Error parsing command line: Strict check failed due to undefined key(s) for ‘status’ command in file exists at path liquibase-dev.properties’:
‘liquibase.command.dbms’
‘liquibase.command.update.showSummary’
To define keys that could apply to any command, prefix it with ‘liquibase.command.’
To disable strict checking, remove ‘strict’ from the file.
For detailed help, try ‘liquibase --help’ or ‘liquibase --help’
Logs saved to log/logliquibase.log
Both options are enabled
findstr /n /i /c:“liquibase.command.dbms” liquibase-dev.properties
28:liquibase.command.dbms: oracle
findstr /n /i /c:“liquibase.command.update.showSummary” liquibase-dev.properties
67:liquibase.command.update.showSummary: VERBOSE
So what’s the problem now?
thanks
andreas
Removing the parameters from the properties file was the solution.