From 501be329e78ac68fc96d2f01022c545a80b346ae Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 30 Dec 2020 15:19:06 +0100 Subject: [PATCH] Fix docs for cargo sqlx prepare --- sqlx-cli/src/opt.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlx-cli/src/opt.rs b/sqlx-cli/src/opt.rs index 839b33b8..594981ef 100644 --- a/sqlx-cli/src/opt.rs +++ b/sqlx-cli/src/opt.rs @@ -20,8 +20,8 @@ pub enum Command { /// in the current directory, overwriting if needed. /// /// During project compilation, the absence of the `DATABASE_URL` environment variable or - /// the presence of `SQLX_OFFLINE` will constrain the compile-time verification to only - /// read from the cached query metadata. + /// the presence of `SQLX_OFFLINE` (with a value of `true` or `1`) will constrain the + /// compile-time verification to only read from the cached query metadata. #[clap(alias = "prep")] Prepare { /// Run in 'check' mode. Exits with 0 if the query metadata is up-to-date. Exits with