Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The option '-v/--verbose' is mentioned in the documentation. but it actually does not have '-v' #2310

Closed
hi2code opened this issue Jan 10, 2024 · 1 comment · Fixed by #2311
Labels
bug Something isn't working
Milestone

Comments

@hi2code
Copy link

hi2code commented Jan 10, 2024

What is the current bug behavior?

Steps to reproduce

hurl -v  foo.hurl
error: error: unexpected argument '-v' found

  tip: to pass '-v' as a value, use '-- -v'

Usage: hurl [OPTIONS] [input_files]...

For more information, try '--help'.

The option '-v/--verbose' is mentioned in the documentation. but hurl actually does not run with '-v'

What is the expected correct behavior?

update the documentation or add -v option

Execution context

  • Hurl Version (hurl --version): 4.1.0

Possible fixes

packages/hurl/src/cli/options/commands.rs

pub fn verbose() -> clap::Arg {
    clap::Arg::new("verbose")
        .long("verbose")
        .help("Turn on verbose")
        .action(ArgAction::SetTrue)
}
@hi2code hi2code added the bug Something isn't working label Jan 10, 2024
@fabricereix fabricereix added this to the 4.3.0 milestone Jan 10, 2024
@fabricereix
Copy link
Collaborator

Thanks for reporting this bug. We are going to fix asap before releasing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants