Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bluechictl: add flags to enable and disable commands #692

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

mkemel
Copy link
Member

@mkemel mkemel commented Jan 8, 2024

Adding the following flags:

enable: --force, --runtime and --no-reload
disable: --runtime and --no-reload

Removed the short -f option for --filter option, since -f is more common for --force than for --filter

Resolves #323

Copy link
Member

@engelmi engelmi left a comment

Choose a reason for hiding this comment

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

Small NIT, otherwise LGTM

src/client/main.c Outdated Show resolved Hide resolved
@mkemel mkemel force-pushed the enable-flags branch 3 times, most recently from 56c21da to 0779274 Compare January 8, 2024 19:17
Adding the following flags:

enable: `--force`, `--runtime` and `--no-reload`
disable: `--runtime` and `--no-reload`

Removed the short `-f` option for `--filter` option, since `-f` is
more common for --force than for filter

Signed-off-by: Mark Kemel <mkemel@redhat.com>
@mkemel mkemel merged commit e3c2485 into eclipse-bluechi:main Jan 8, 2024
18 checks passed
@dougsland
Copy link
Contributor

dougsland commented Jan 8, 2024

Adding the following flags:

enable: --force, --runtime and --no-reload disable: --runtime and --no-reload

Removed the short -f option for --filter option, since -f is more common for --force than for --filter

Resolves #323

The patch looks good to me so the merge is completely valid (I also did some tests) but was faster than me. :)
For the next time, I would vote to put few more minutes to improve description with some examples too if possible.

@mkemel
Copy link
Member Author

mkemel commented Jan 9, 2024

@dougsland good point, thanks for your remark.
There are examples in the linked issue, outdated though. But definitely examples would make the description better

@mkemel mkemel deleted the enable-flags branch January 10, 2024 13:45
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.

Add flags to hirtectls enable and disable command
3 participants