mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-09-21 18:57:33 +03:00
Fix very-verbose taken into account only if verbose is true.
This commit is contained in:
parent
baac5e8b5a
commit
b624003679
@ -1,3 +1,3 @@
|
||||
Set-StrictMode -Version latest
|
||||
$ErrorActionPreference = 'Stop'
|
||||
hurl tests_ok/very_verbose.hurl --very-verbose --location --verbose
|
||||
hurl tests_ok/very_verbose.hurl --very-verbose --location
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
set -Eeuo pipefail
|
||||
hurl tests_ok/very_verbose.hurl --very-verbose --location --verbose
|
||||
hurl tests_ok/very_verbose.hurl --very-verbose --location
|
||||
|
@ -258,8 +258,8 @@ impl Options {
|
||||
let connects_to = self.connects_to.clone();
|
||||
let follow_location = self.follow_location;
|
||||
let verbosity = match (self.verbose, self.very_verbose) {
|
||||
(true, true) => Some(Verbosity::VeryVerbose),
|
||||
(true, _) => Some(Verbosity::Verbose),
|
||||
(_, true) => Some(Verbosity::VeryVerbose),
|
||||
(true, false) => Some(Verbosity::Verbose),
|
||||
_ => None,
|
||||
};
|
||||
let insecure = self.insecure;
|
||||
|
Loading…
Reference in New Issue
Block a user