about summary refs log tree commit diff
path: root/src/commands/compile.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/compile.rs')
-rw-r--r--src/commands/compile.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands/compile.rs b/src/commands/compile.rs
index e16b8c87a659..be8767575ab5 100644
--- a/src/commands/compile.rs
+++ b/src/commands/compile.rs
@@ -5,10 +5,13 @@ use clap::Clap;
 use crate::common::Result;
 use crate::compiler::{self, CompilerOptions};
 
+/// Compile a source file
 #[derive(Clap)]
 pub struct Compile {
+    /// File to compile
     file: PathBuf,
 
+    /// Output file
     #[clap(short = 'o')]
     out_file: PathBuf,