Skip to content

Commit

Permalink
Use specialized Arg constructor for setting boolean flag
Browse files Browse the repository at this point in the history
  • Loading branch information
vprevosto committed Dec 8, 2022
1 parent 33903d9 commit 2911efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion headache_tool.ml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ let main () =
" Extract headers from files";

"-v",
Arg.Unit (fun () -> verbose := true),
Arg.Set verbose,
" Enable verbose output";

]
Expand Down

0 comments on commit 2911efc

Please sign in to comment.