Skip to content

Commit

Permalink
fix: update cli flags descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielc committed Nov 6, 2024
1 parent 2141efe commit e90b766
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions one/src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,16 +238,17 @@ pub struct DaemonOpts {
)]
ethereum_rpc_urls: Vec<String>,

/// Enable the aggregator, requires Flight SQL to be enabled
/// Enable the aggregator, requires Flight SQL and S3 bucket to be defined.
#[arg(
long,
requires = "flight_sql_bind_address",
requires = "s3_bucket",
env = "CERAMIC_ONE_AGGREGATOR"
)]
aggregator: Option<bool>,

/// S3 bucket name.
/// When configured the aggregator will support storing data in S3 compatible object stores.
/// Name of the S3 bucket where Ceramic stores published data tables.
/// Requires using the experimental-features flag
///
/// Credentials are read from the environment:
///
Expand Down Expand Up @@ -497,7 +498,7 @@ pub async fn run(opts: DaemonOpts) -> Result<()> {
.await
.map_err(|e| {
anyhow!(
"Failed to start linebp2p server using addresses: {}. {}",
"Failed to start libp2p server using addresses: {}. {}",
opts.swarm_addresses.join(", "),
e
)
Expand Down

0 comments on commit e90b766

Please sign in to comment.