From 02bc0d184fa60668bafe8de5ba844d132aa2ffb3 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 1 Apr 2022 23:44:39 +0200 Subject: Command::Update: Add a variant to specify primary key without column Allow passing the primary key either by value or prefixed by its column name. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 9c04174..649bc3d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,7 +42,7 @@ enum Command { #[clap(long)] database: String, - #[clap(long, help = "Format: =")] + #[clap(long, help = "Format: | =")] primary_key: String, table_name: String, -- cgit v1.2.3