diff --git a/cli/app.rs b/cli/app.rs index c9f388af6..0276ae245 100644 --- a/cli/app.rs +++ b/cli/app.rs @@ -33,7 +33,7 @@ pub struct Opts { default_value_t = false )] pub quiet: bool, - #[clap(short, long, help = "Print commands before exection")] + #[clap(short, long, help = "Print commands before execution")] pub echo: bool, } @@ -91,7 +91,7 @@ impl Command { } + 1) // argv0 } - fn useage(&self) -> &str { + fn usage(&self) -> &str { match self { Self::Quit => ".quit", Self::Open => ".open ", @@ -400,7 +400,7 @@ impl Limbo { if args.len() < cmd.min_args() { let _ = self.write_fmt(format_args!( "Insufficient arguments: USAGE: {}", - cmd.useage() + cmd.usage() )); return; }