diff options
author | Teddy Wing | 2022-04-01 00:11:24 +0200 |
---|---|---|
committer | Teddy Wing | 2022-04-01 00:11:49 +0200 |
commit | 775cf46a55379b6c712fd4770fd48935c2d06cc4 (patch) | |
tree | 3b857009f0c023c20b905a32cf5953c9a143e851 /src/main.rs | |
parent | 783782030862d6d69edec7e35a04da6140161932 (diff) | |
download | yaqlite-775cf46a55379b6c712fd4770fd48935c2d06cc4.tar.bz2 |
Command::Update: Add help text for `primary_key` CLI argument
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 3f46582..9c04174 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,7 +42,7 @@ enum Command { #[clap(long)] database: String, - #[clap(long)] + #[clap(long, help = "Format: <column_name>=<primary-key>")] primary_key: String, table_name: String, @@ -135,6 +135,8 @@ fn run() -> anyhow::Result<()> { .context("failed to close database")?; }, + Command::Update { .. } => {}, + Command::Select { database, table_name, |