Skip to content

Improve printing of options with different value than build type default#15619

Open
jrosdahl wants to merge 1 commit intomesonbuild:masterfrom
jrosdahl:improve-printing-of-different-option-values
Open

Improve printing of options with different value than build type default#15619
jrosdahl wants to merge 1 commit intomesonbuild:masterfrom
jrosdahl:improve-printing-of-different-option-values

Conversation

@jrosdahl
Copy link
Contributor

Align columns in the "meson configure" section that prints options with different values than the build type default, stringify values, add coloring, indent the section and make headers look more like those for other sections.

Before:

The following option(s) have a different value than the build type default

               current   default
optimization         3         0
debug                         0         1

After:

The following option(s) have a different value than the build type default:

                Current  Default
                -------  -------
  optimization  3        0
  debug         false    true

Align columns in the "meson configure" section that prints options with
different values than the build type default. Also add coloring, indent
the section and make headers look more like those for other sections.

Before:

    The following option(s) have a different value than the build type default

                   current   default
    optimization         3         0
    debug                         0         1

After:

    The following option(s) have a different value than the build type default:

                    Current  Default
                    -------  -------
      optimization  3        0
      debug         false    true
@jrosdahl jrosdahl requested a review from jpakkane as a code owner March 13, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant