Add --version flag
This commit is contained in:
parent
cc2d73154d
commit
d4150757ca
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ use crate::events::{handle_event, poll_event};
|
|||
#[derive(Parser, Debug)]
|
||||
#[command(name = "lines")]
|
||||
#[command(about = "TUI pro rychlé spouštění často používaných příkazů")]
|
||||
#[command(version)]
|
||||
struct Args {
|
||||
/// Cesta k datové složce (výchozí: ~/.lines)
|
||||
#[arg(short, long)]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue