summaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/config.rs b/src/config.rs
index 258255b..cdef063 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -1,7 +1,7 @@
use clap::{Args, Parser};
use tracing::{metadata::LevelFilter, Level};
-use crate::{history, session, stdio, tmux};
+use crate::{session, stdio, tmux};
#[derive(Debug, Clone, Parser)]
pub struct Config {
@@ -15,9 +15,6 @@ pub struct Config {
pub sessions: session::Config,
#[command(flatten)]
- pub history: history::History,
-
- #[command(flatten)]
pub tmux: tmux::Tmux,
#[command(flatten)]
@@ -34,10 +31,6 @@ pub struct Flags {
#[arg(short, long)]
pub tmux: bool,
- /// Include hosts from history file
- #[arg(short = 'H', long)]
- pub history: bool,
-
/// Include hosts from the ssh `known_hosts`
#[arg(short, long)]
pub ssh: bool,
@@ -60,10 +53,6 @@ impl Flags {
self.all || self.tmux
}
- pub fn history(&self) -> bool {
- self.all || self.history
- }
-
pub fn ssh(&self) -> bool {
self.all || self.ssh
}