Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 432785e

Browse files
CodingDougDoug Stevenson
andauthored
Added --version flag (#402)
Co-authored-by: Doug Stevenson <[email protected]>
1 parent 5242647 commit 432785e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqld/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ static GLOBAL: MiMalloc = MiMalloc;
1919
/// SQL daemon
2020
#[derive(Debug, Parser)]
2121
#[command(name = "sqld")]
22-
#[command(about = "SQL daemon", long_about = None)]
22+
#[command(about = "SQL daemon", version, long_about = None)]
2323
struct Cli {
2424
#[clap(long, short, default_value = "data.sqld", env = "SQLD_DB_PATH")]
2525
db_path: PathBuf,

0 commit comments

Comments
 (0)