mirror of
https://github.com/NotAShelf/stash.git
synced 2026-04-12 22:17:41 +00:00
stash: remove redundant import flag
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I6a6a6964348f1ad4915890f0b4ccd59619cc3e1a
This commit is contained in:
parent
bb2c66fd3e
commit
0c8003d636
1 changed files with 1 additions and 8 deletions
|
|
@ -37,9 +37,6 @@ struct Cli {
|
|||
|
||||
#[arg(long)]
|
||||
db_path: Option<PathBuf>,
|
||||
|
||||
#[arg(long)]
|
||||
import_tsv: bool,
|
||||
}
|
||||
|
||||
#[derive(Subcommand)]
|
||||
|
|
@ -89,12 +86,8 @@ fn main() {
|
|||
log::error!("Failed to open database: {e}");
|
||||
process::exit(1);
|
||||
});
|
||||
let db = db::SledClipboardDb { db: sled_db };
|
||||
|
||||
if cli.import_tsv {
|
||||
db.import_tsv(io::stdin());
|
||||
return;
|
||||
}
|
||||
let db = db::SledClipboardDb { db: sled_db };
|
||||
|
||||
match cli.command {
|
||||
Some(Command::Store) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue