Skip to content

Commit 0b180e9

Browse files
committed
update help
1 parent 7de1895 commit 0b180e9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

rust_src/driver.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ use crate::error::Error;
22
use clap::Parser;
33
use std::env;
44
#[derive(Parser, Debug)]
5-
#[command(version, about = "Compiles input-file.c creating an executable /path/to/input-file using the system gcc", long_about = None)] // Read from `Cargo.toml`
5+
#[command(version, about = "Compiles /path/to/input-file.c creating an executable /path/to/input-file using the system gcc", long_about = None)] // Read from `Cargo.toml`
66
pub struct Cli {
7-
/// Input C file name
7+
/// Input C source file
8+
#[arg(name = "C_FILE")]
89
input_file: String,
910
/// Run the lexer but stop before parsing
1011
#[arg(long, default_value_t = false)]

0 commit comments

Comments
 (0)