Skip to content

Conversation

@muzimuzhi
Copy link
Contributor

@muzimuzhi muzimuzhi commented Jan 9, 2026

Striped the surplus leading "checkmake version" in --version output.
https://github.com/spf13/cobra/blob/main/site/content/user_guide.md#version-flag

$ checkmake --version
# before, with v0.3.0
checkmake version checkmake vx.y.x ...
# after
checkmake vx.y.x ...

I spot the changed pattern of checkmake --version output from a broken mise CI.

Tested locally by executing make clean all test.

Checklist

Not all of these might apply to your change but the more you are able to check
the easier it will be to get your contribution merged.

  • CI passes
  • Description of proposed change
  • Documentation (README, docs/, man pages) is updated
  • Existing issue is referenced if there is one
  • Unit tests for the proposed change

@mikelolasagasti
Copy link
Collaborator

LGTM

Copy link
Collaborator

@obnoxxx obnoxxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change itself looks good to me but please ad a signoff line to you commit message, e. g by running git commit --amend -s

Striped the surplus leading "checkmake version" in `--version` output.
https://github.com/spf13/cobra/blob/main/site/content/user_guide.md#version-flag

    $ checkmake --version
    # before, with v0.3.0
    checkmake version checkmake vx.y.x ...
    # after
    checkmake vx.y.x ...

Signed-off-by: Yukai Chou <muzimuzhi@gmail.com>
@muzimuzhi
Copy link
Contributor Author

@obnoxxx Sign-off-by trailer added.

Copy link
Collaborator

@obnoxxx obnoxxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adjusting the commit message! This LGTM now.

@obnoxxx obnoxxx merged commit 0ed9cfc into checkmake:main Jan 9, 2026
6 checks passed
@muzimuzhi muzimuzhi deleted the fix/version-output branch January 9, 2026 15:10
@obnoxxx obnoxxx mentioned this pull request Jan 9, 2026
5 tasks
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.

3 participants