Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22bd562a authored by Martin Geisler's avatar Martin Geisler Committed by Gerrit Code Review
Browse files

Merge "pdl: use docstrings instead of attribute arguments"

parents 2aaf6a24 c07057c7
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -21,10 +21,12 @@ use crate::lint::Lintable;
#[derive(Debug, StructOpt)]
#[structopt(name = "pdl-parser", about = "Packet Description Language parser tool.")]
struct Opt {
    #[structopt(short, long = "--version", help = "Print tool version and exit.")]
    /// Print tool version and exit.
    #[structopt(short, long = "--version")]
    version: bool,

    #[structopt(name = "FILE", help = "Input file.")]
    /// Input file.
    #[structopt(name = "FILE")]
    input_file: String,
}