Skip to content

Commit

Permalink
harmonize doc site and docstring content
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicBurkart committed Jun 1, 2023
1 parent 13ace77 commit 6af3d8e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,9 @@ pub struct RootOpts {
)]
pub internal_log_rate_limit: u64,

/// Set the duration in seconds to wait for graceful shutdown after SIGINT or SIGTERM are received.
/// After the duration has passed, Vector will force shutdown.
/// Set the duration in seconds to wait for graceful shutdown after SIGINT or SIGTERM are
/// received. After the duration has passed, Vector will force shutdown. To never force
/// shutdown, use `--no-graceful-shutdown-limit`.
#[arg(
long,
default_value = "60",
Expand All @@ -169,9 +170,9 @@ pub struct RootOpts {
)]
pub graceful_shutdown_limit_secs: NonZeroU64,

/// Never time out while waiting for graceful shutdown after SIGINT or SIGTERM received. This is useful
/// when you would like for Vector to attempt to send data until terminated by a SIGKILL. Overrides/cannot
/// be set with --graceful-shutdown-limit-secs.
/// Never time out while waiting for graceful shutdown after SIGINT or SIGTERM received.
/// This is useful when you would like for Vector to attempt to send data until terminated
/// by a SIGKILL. Overrides/cannot be set with `--graceful-shutdown-limit-secs`.
#[arg(
long,
default_value = "false",
Expand Down

0 comments on commit 6af3d8e

Please sign in to comment.