diff --git a/tools/pdl/src/main.rs b/tools/pdl/src/main.rs
index 5f488fd61ed36b9cef05fe7eac73f42e8bd9c7dc..7309f982d3989a470366d4c7a5a18831054b6284 100644
--- a/tools/pdl/src/main.rs
+++ b/tools/pdl/src/main.rs
@@ -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,
 }