mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
When parsing using the .argv interface to yargs the parser state is not restored back to its pre-parsing state after the operation completes. This causes a susequent reparse with argv to forget its commands and respond with an unknown arguments error when trying to use the control-config command to clusterioctl. Fix by switching to use the parse() interface which does restore the parser state after completing.