Skip to content

Commit

Permalink
comment on args count
Browse files Browse the repository at this point in the history
  • Loading branch information
TanklesXL committed Apr 22, 2024
1 parent 081ccf8 commit e0d0ca7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/glint.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ pub opaque type Glint(a) {
Glint(config: Config, cmd: CommandNode(a))
}

/// Specify the expected number of arguments with this type and the `glint.unnamed_args` function
/// Specify the expected number of unnamed arguments with this type and the `glint.unnamed_args` function
///
pub type ArgsCount {
/// Specifies that a command must accept a specific number of arguments
/// Specifies that a command must accept a specific number of unnamed arguments
///
EqArgs(Int)
/// Specifies that a command must accept a minimum number of arguments
/// Specifies that a command must accept a minimum number of unnamed arguments
///
MinArgs(Int)
}
Expand Down

0 comments on commit e0d0ca7

Please sign in to comment.