From f2330d5ec042f7a088ea18ce9f4604c4e3809d37 Mon Sep 17 00:00:00 2001 From: Lucas Pickering Date: Tue, 21 Nov 2023 16:31:33 -0500 Subject: [PATCH] Rename `slumber info` to `slumber show` I realized `rustup show` exists and is a decent parallel. --- CHANGELOG.md | 3 ++- src/cli.rs | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 962d1855..f9dde4fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,13 @@ ### Added -- Add `slumber info` subcommand +- Add `slumber show` subcommand ### Changed - Remove keybinding to reload collection - Not useful now that the TUI has automatic reloading +- Move to stable Rust channel and add MSRV of 1.74 ### Fixed diff --git a/src/cli.rs b/src/cli.rs index fee0b2a6..63b81cda 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -52,7 +52,7 @@ pub enum Subcommand { }, /// Show meta information about slumber - Info, + Show, } impl Subcommand { @@ -148,7 +148,7 @@ impl Subcommand { Ok(()) } - Subcommand::Info => { + Subcommand::Show => { println!("Directory: {}", data_directory().display()); Ok(()) }