Revisit multiple option handling, particularly --peer
#4519
Labels
Documentation
Flags an issue / PR for attention by the technical documentation team
Focus: CLI
Related to the Habitat CLI (core/hab) component
Type: Bug
Issues that describe broken functionality
Milestone
In the past, we've used a space-delimited list of peer addresses as the value to the
--peer
option when starting up a Supervisor (including in our own provisioning (private link). The way the code is written, and based on how Clap handles argument parsing (which may have changed recently?), only the first peer address is actually used.Passing the
--peer
flag multiple times, however, successfully accumulates all peer addresses.We should survey our documentation for
--peer
in particular, but all multi-valued options across our CLI, to ensure that users are not confused (initially, there was some confusion over whether comma-delimited values would work, too). We should also update our provisioning code accordingly.The text was updated successfully, but these errors were encountered: