Skip to content

Commit

Permalink
Use --enum[]= form.
Browse files Browse the repository at this point in the history
  • Loading branch information
danfuzz committed Oct 26, 2023
1 parent 65e8e26 commit 895e87f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/lib/lactoserv/run
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ define-usage --with-help $'
'

# What to do?
opt-value --var=action --default=run --enum='build clean run' do
opt-value --var=action --default=run --enum[]='build clean run' do

# Debugging options passed directly to the main `run` script.
opt-toggle --var=earlyErrors early-errors
Expand Down
2 changes: 1 addition & 1 deletion scripts/lib/lactoserv/run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ define-usage --with-help $'
'

# What to do?
opt-value --var=action --default=run --enum='build clean run' do
opt-value --var=action --default=run --enum[]='build clean run' do

# Built output directory.
opt-value --var=outDir out
Expand Down

0 comments on commit 895e87f

Please sign in to comment.