Skip to content

Commit 55f263d

Browse files
committed
Allow syn2mas arguments to be specified after the subcommand
1 parent 2b1703e commit 55f263d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/cli/src/commands/syn2mas.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub(super) struct Options {
4040
/// Path to the Synapse configuration (in YAML format).
4141
/// May be specified multiple times if multiple Synapse configuration files
4242
/// are in use.
43-
#[clap(long = "synapse-config")]
43+
#[clap(long = "synapse-config", global = true)]
4444
synapse_configuration_files: Vec<Utf8PathBuf>,
4545

4646
/// Override the Synapse database URI.
@@ -60,7 +60,7 @@ pub(super) struct Options {
6060
/// environment variables `PGHOST`, `PGPORT`, `PGUSER`, `PGDATABASE`,
6161
/// `PGPASSWORD`, etc. It is valid to specify the URL `postgresql:` and
6262
/// configure all values through those environment variables.
63-
#[clap(long = "synapse-database-uri")]
63+
#[clap(long = "synapse-database-uri", global = true)]
6464
synapse_database_uri: Option<PgConnectOptions>,
6565
}
6666

0 commit comments

Comments
 (0)