Update help info

This commit is contained in:
Paul Campbell 2023-03-23 15:14:10 +00:00
parent 3dc4d94847
commit 653e0b92a7

View file

@ -6,10 +6,11 @@ use std::path::PathBuf;
pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error>>; pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error>>;
/// Skip lines at the start of a file
#[derive(Parser, Debug)] #[derive(Parser, Debug)]
#[command(version)] #[command(version)]
pub struct Cli { pub struct Cli {
/// The number of lines to skip /// The number of lines (or tokens) to skip
lines: usize, lines: usize,
/// The file to read, or stdin if not given /// The file to read, or stdin if not given
pub file: Option<PathBuf>, pub file: Option<PathBuf>,