Skip to content

Commit

Permalink
fix: snake_case double_dash options
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Dec 18, 2024
1 parent 5e72f3b commit 92d4dcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/spec/arg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use crate::spec::is_false;
use crate::{string, SpecChoices};

#[derive(Debug, Default, Clone, Serialize, PartialEq, Eq, strum::EnumString, strum::Display)]
#[strum(serialize_all = "snake_case")]
pub enum SpecDoubleDashChoices {
/// Once an arg is entered, behave as if "--" was passed
Automatic,
Expand Down

0 comments on commit 92d4dcc

Please sign in to comment.