- Reference
- Version · 5.1.1
- Reference guide
global-strip-comments-override
Last updated: October 7, 2026
--global-strip-comments-override is a global Boolean parameter. It specifies whether the --global-strip-comments-override parameter always takes priority over other Liquibase delimiter settings. The default value is false.
It is available in Liquibase Secure 5.0 and later.
From Liquibase Pro version 4.29.2 through 4.33, this parameter was called --pro-global-strip-comments-prioritized. See the change history table at the end of this article for pre-5.0 version syntax.
Uses
You can set a delimiter in Liquibase in the following ways:
stripCommentsset on a specific changeset, including inrollbackSqlFile(highest precedence)stripCommentsset in a changelog called byincludeorincludeAllinmodifyChangeSets--global-strip-commentsset globally (lowest precedence)
By default, --global-strip-comments has the lowest precedence. This means that if you set it to false, and you set stripComments to true, Liquibase uses the value of stripComments anywhere there is a conflict.
However, if you want Liquibase to always strip comments based on --global-strip-comments no matter what, you can set --global-strip-comments-override to true.
Syntax
You can set this parameter in the following ways:
Option | Syntax |
Liquibase properties file (defaults file) |
|
Global flow file argument |
|
Global CLI parameter |
|
JVM system property (JAVA_OPTS environment variable) | Unix:
Windows:
|
Liquibase environment variable |
|
For more information, see Working with command parameters.
Change history
Version | Changes |
|---|---|
Liquibase Secure, version 5.0 | Parameter changed from --pro-global-strip-comments-prioritized to -- Here are the previous values from when it was --pro-global-strip-comments-prioritized. Liquibase properties file(defaults file) liquibase.pro.globalEndDelimiter.prioritized: <true|false> Global flow file argument globalArgs: { pro-global-end-delimiter-prioritized: "<true|false>" } Global CLI parameter liquibase --pro-global-end-delimiter-prioritized=<true|false> update --changelog-file=example-changelog.xml JVM system property(JAVA_OPTS environment variable) Unix: JAVA_OPTS=-Dliquibase.pro.globalEndDelimiter.prioritized=<true|false> Windows: JAVA_OPTS=-D"liquibase.pro.globalEndDelimiter.prioritized"=<true|false> |