Skip to content

Commit

Permalink
Fix "about" info for cross subcommand (pgcentralfoundation#1974)
Browse files Browse the repository at this point in the history
The help text for "cross" currently displays incorrectly. This is even
reflected in the readme, see :


https://github.com/pgcentralfoundation/pgrx/blob/e577bfe7b8af2c20259826b0de9aacbf4c6dab02/cargo-pgrx/README.md?plain=1#L45

This change fixes so it displays as expected, and also updates the
README to match.
  • Loading branch information
mjgarton authored Feb 24, 2025
1 parent 03a12cf commit 05165a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cargo-pgrx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Commands:
connect Connect, via psql, to a Postgres instance
test Run the test suite for this crate
get Get a property from the extension control file
cross Cargo subcommand for 'pgrx' to make Postgres extension development easy
cross Commands having to do with cross-compilation. (Experimental)
help Print this message or the help of the given subcommand(s)

Options:
Expand Down
2 changes: 1 addition & 1 deletion cargo-pgrx/src/command/cross/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub(crate) mod pgrx_target;

/// Commands having to do with cross-compilation. (Experimental)
#[derive(clap::Args, Debug)]
#[clap(about, author)]
#[clap(author)]
pub(crate) struct Cross {
#[command(subcommand)]
pub(crate) subcommand: CargoPgrxCrossSubCommands,
Expand Down

0 comments on commit 05165a7

Please sign in to comment.