Skip to content

fix: infinite loop on vfox config with no args - #695

Merged
aooohan merged 1 commit into
version-fox:mainfrom
atzix:main
Sep 6, 2026
Merged

aooohan merged 1 commit into
version-fox:mainfrom
atzix:main

Conversation

@atzix

@atzix atzix commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Running vfox config without arguments caused the process to hang wasting CPU and no output

cmd.Run(ctx, []string{"CMD", "config", "-h"}) re-enters the config command's own action instead of showing help, recursing forever

Show the help directly via cli.ShowSubcommandHelp instead

@aooohan
aooohan merged commit fe204ec into version-fox:main Sep 6, 2026
@aooohan

aooohan commented Sep 6, 2026

Copy link
Copy Markdown
Member

Thanks for the contribution.

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