Skip to content

Commit 90fc221

Browse files
committed
Rewrite
1 parent 23314eb commit 90fc221

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pocket-cli"
3-
version = "1.0.0"
3+
version = "1.0.1"
44
edition = "2021"
55
description = "A CLI tool for saving, organizing, and retrieving code snippets with integrated version control"
66
authors = ["frgmt0"]

src/cli/handler.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ use colored::Colorize;
1010
pub fn handle_command(cli: Cli) -> PocketResult<()> {
1111
// Set up logging based on verbosity
1212
let log_level = match cli.verbose {
13-
0 => LevelFilter::Info,
14-
1 => LevelFilter::Debug,
13+
0 => LevelFilter::Warn,
14+
1 => LevelFilter::Info,
15+
2 => LevelFilter::Debug,
1516
_ => LevelFilter::Trace,
1617
};
1718
logging::init(log_level);

0 commit comments

Comments
 (0)