Skip to content

Commit

Permalink
Fix: verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
pacman82 committed Sep 16, 2022
1 parent cc8a7a8 commit a0c1513
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "odbc2parquet"
version = "0.13.0"
version = "0.13.1"
authors = ["Markus Klein"]
edition = "2021"
repository = "https://github.com/pacman82/odbc2parquet"
Expand Down
7 changes: 7 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.13.1

* The level of verbosity had been one to high:
* `--quiet` now suppresses warning messages as intended.
* `-v` -> `Info`
* `-vv` -> `Debug`

## 0.13.0

* `DATETIMEOFFSET` on `Microsoft SQL Server` now is mapped to `TIMESTAMP` with instant semantics i.e. its mapped to UTC and understood to reference a specific point in time, rather than a wall clock time.
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,10 @@ fn main() -> Result<(), Error> {

let verbose = if opt.quiet {
// Log errors, but nothing else
1
0
} else {
// Log warnings and one additional log level for each `-v` passed in the command line.
opt.verbose + 2
opt.verbose + 1
};

let color_choice = if opt.no_color {
Expand Down

0 comments on commit a0c1513

Please sign in to comment.