Skip to content

Commit

Permalink
feat: provide suggested help message for install
Browse files Browse the repository at this point in the history
  • Loading branch information
EstebanBorai committed Oct 26, 2023
1 parent 744ee4e commit b55df98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/fluvio-version-manager/src/command/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub struct InstallOpt {
/// Registry used to fetch Fluvio Versions
#[arg(long, env = "HUB_REGISTRY_URL", default_value = HUB_REMOTE)]
registry: Url,
/// Version to install
/// Version to install: stable, latest, or named-version x.y.z
#[arg(index = 1, default_value_t = Channel::Stable)]
version: Channel,
}
Expand Down
1 change: 1 addition & 0 deletions crates/fluvio-version-manager/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ async fn main() -> Result<()> {
name = BINARY_NAME,
about = "Fluvio Version Manager (FVM)",
max_term_width = 100,
arg_required_else_help = true,
)]
pub struct Cli {
#[clap(long, short = 'q', help = "Suppress all output")]
Expand Down

0 comments on commit b55df98

Please sign in to comment.