refactor: dead space removed
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user