Skip to content

Commit

Permalink
mononoke_app: correct value names for warm bookmark cache arguments
Browse files Browse the repository at this point in the history
Summary: Value names for clap are traditionally a description of the value in `UPPER_SNAKE_CASE`.

Differential Revision: D52075058

fbshipit-source-id: 8f97074fe444a867627731426d5b7109c6989a86
  • Loading branch information
markbt authored and facebook-github-bot committed Dec 13, 2023
1 parent 068b68a commit 68064ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eden/mononoke/cmdlib/mononoke_app/src/args/wbc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ use crate::AppExtension;
#[derive(Parser, Debug)]
pub struct WarmBookmarksCacheArgs {
/// What needs to be warmed
#[clap(long, value_enum, value_name = "warm derived data")]
#[clap(long, value_enum, value_name = "WARMING_MODE")]
pub enable_wbc_with: Option<BookmarkCacheDerivedData>,

#[clap(long, value_name = "Use remote bookmark cache")]
#[clap(long, value_name = "BOOL")]
pub use_remote_bookmark_cache: Option<bool>,

/// Specify SMC tier for the derived data service
Expand Down

0 comments on commit 68064ee

Please sign in to comment.