Skip to content

Commit

Permalink
Update cargo-pgx README to document --profile flag
Browse files Browse the repository at this point in the history
  • Loading branch information
thomcc committed Oct 13, 2022
1 parent fbbbba5 commit 6293a92
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions cargo-pgx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,11 @@ OPTIONS:
--pgcli
Use an existing `pgcli` on the $PATH [env: PGX_PGCLI=]

--profile <PROFILE>
Specific profile to use (conflicts with `--release`)

-r, --release
Compile for release mode (default is debug) [env: PROFILE=]
Compile for release mode (default is debug)

-v, --verbose
Enable info logs, -vv for debug, -vvv for trace
Expand Down Expand Up @@ -444,8 +447,11 @@ OPTIONS:
-p, --package <PACKAGE>
Package to build (see `cargo help pkgid`)
--profile <PROFILE>
Specific profile to use (conflicts with `--release`)
-r, --release
Compile for release mode (default is debug) [env: PROFILE=]
Compile for release mode (default is debug)
--test
Build in test mode (for `cargo pgx test`)
Expand Down Expand Up @@ -534,8 +540,11 @@ OPTIONS:
-p, --package <PACKAGE>
Package to build (see `cargo help pkgid`)
--profile <PROFILE>
Specific profile to use (conflicts with `--release`)
-r, --release
compile for release mode (default is debug) [env: PROFILE=]
compile for release mode (default is debug)
-v, --verbose
Enable info logs, -vv for debug, -vvv for trace
Expand Down Expand Up @@ -595,7 +604,7 @@ OPTIONS:
The `pg_config` path (default is first in $PATH)
-d, --debug
Compile for debug mode (default is release) [env: PROFILE=]
Compile for debug mode (default is release)
--features <FEATURES>
Space-separated list of features to activate
Expand All @@ -616,6 +625,9 @@ OPTIONS:
-p, --package <PACKAGE>
Package to build (see `cargo help pkgid`)
--profile <PROFILE>
Specific profile to use (conflicts with `--debug`)
--test
Build in test mode (for `cargo pgx test`)
Expand Down Expand Up @@ -671,8 +683,11 @@ OPTIONS:
-p, --package <PACKAGE>
Package to build (see `cargo help pkgid`)
--profile <PROFILE>
Specific profile to use (conflicts with `--release`)
-r, --release
Compile for release mode (default is debug) [env: PROFILE=]
Compile for release mode (default is debug)
--skip-build
Skip building a fresh extension shared object
Expand Down

0 comments on commit 6293a92

Please sign in to comment.