aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/main.rs b/src/main.rs
index 82e568e..8c74322 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -8,9 +8,7 @@ use std::process;
pub mod args;
-
use rand::{thread_rng, seq::{SliceRandom, IteratorRandom}};
-use clap::Parser;
use crate::args::Args;
#[derive(Debug)]
@@ -68,22 +66,6 @@ impl From<io::Error> for Error {
type ProgResult<T> = Result<T, Error>;
-#[derive(Parser, Debug)]
-#[command(name = "spout")]
-#[command(about = "Generates nonsense", long_about = None)]
-struct OldArgs {
- /// Path to data directory
- directory: String,
-
- /// Number of sentences to generate
- #[arg(short = 'n', long = "sentences", default_value_t = 1)]
- n_sentences: u32,
-
- /// Don't re-use entries in data files (program will fail upon running out)
- #[arg(long)]
- unique: bool,
-}
-
#[derive(Debug, Clone)]
enum DropIn {
Any,