refactor: dead space removed

This commit is contained in:
Jack Wills
2022-04-29 03:10:41 +00:00
parent 836df247c4
commit 3542f65e61
2 changed files with 5 additions and 6 deletions
+4 -5
View File
@@ -15,10 +15,9 @@ pub struct CliArgs {
#[clap(short = 'g')] #[clap(short = 'g')]
pub gui: bool, pub gui: bool,
/// Install to ./local/bin // /// Install to ./local/bin
#[clap(short = 'i')] // #[clap(short = 'i')]
pub install: bool, // pub install: bool,
/// Remove timestamps from Docker logs /// Remove timestamps from Docker logs
#[clap(short = 't')] #[clap(short = 't')]
pub timestamp: bool, pub timestamp: bool,
@@ -48,7 +47,7 @@ impl CliArgs {
docker_interval: args.docker_interval, docker_interval: args.docker_interval,
gui: !args.gui, gui: !args.gui,
raw: args.raw, raw: args.raw,
install: args.install, // install: args.install,
timestamp: !args.timestamp, timestamp: !args.timestamp,
} }
} }
+1 -1
View File
@@ -471,7 +471,7 @@ pub fn draw_heading_bar<B: Backend>(
pub fn draw_help_box<B: Backend>(f: &mut Frame<'_, B>) { pub fn draw_help_box<B: Backend>(f: &mut Frame<'_, B>) {
let title = format!(" {} ", VERSION); let title = format!(" {} ", VERSION);
let description_text = format!("\n{}", DESCRIPTION); let description_text = format!("\n{}", DESCRIPTION);
let mut help_text = String::from("\n ( tab ) or ( alt+tab ) to change panels"); let mut help_text = String::from("\n ( tab ) or ( alt+tab ) to change panels");
help_text.push_str("\n ( ↑ ↓ ← → ) mto change selected line"); help_text.push_str("\n ( ↑ ↓ ← → ) mto change selected line");