Skip to content

Revert "cmd/completion: Add prefix to command to hide it better" - #1121

Merged
debarshiray merged 1 commit into
containers:mainfrom
debarshiray:wip/rishi/revert-completion-prefix
Sep 9, 2022
Merged

debarshiray merged 1 commit into
containers:mainfrom
debarshiray:wip/rishi/revert-completion-prefix

Conversation

@debarshiray

Copy link
Copy Markdown
Member

Cobra provides a default command 'completion' that is always visible. The reverted change caused an additional command 'completion' to show up in the list because the then called command '__completion' didn't override the default one. This became apparent due to d69ce67 dynamically generating completion arguments for the 'help' command.

This reverts commit 4469774.

Split from #1055

Cobra provides a default command 'completion' that is always visible.
The reverted change caused an additional command 'completion' to show up
in the list because the then called command '__completion' didn't
override the default one. This became apparent due to d69ce67
dynamically generating completion arguments for the 'help' command.

This reverts commit 4469774.

containers#1055
containers#1121
@softwarefactory-delete-me

Copy link
Copy Markdown

Build succeeded.

✔️ unit-test SUCCESS in 7m 37s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 7m 38s
✔️ system-test-fedora-rawhide SUCCESS in 17m 24s
✔️ system-test-fedora-36 SUCCESS in 11m 07s
✔️ system-test-fedora-35 SUCCESS in 12m 22s

@debarshiray
debarshiray merged commit 9d1b588 into containers:main Sep 9, 2022
@debarshiray
debarshiray deleted the wip/rishi/revert-completion-prefix branch September 9, 2022 16:33
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.

2 participants