Skip to content

Commit

Permalink
fix(carl): correct a few CLI docstrings (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro authored Sep 5, 2024
1 parent df0843b commit 82ea02e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/carl.ml
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ module CLI = struct
let cacert =
let cert_conv =
let parse s = Ok (Cert.Filepath s) in
Arg.conv ~docv:"method" (parse, Cert.pp)
Arg.conv ~docv:"cacert" (parse, Cert.pp)
in
let doc = "CA certificate to verify peer against" in
let docv = "file" in
Expand Down Expand Up @@ -553,7 +553,7 @@ module CLI = struct
Ok (name, value)
in
let print = format_header in
Arg.conv ~docv:"method" (parse, print)
Arg.conv ~docv:"header" (parse, print)
in
let doc = "Pass custom header(s) to server" in
let docv = "header" in
Expand Down Expand Up @@ -677,7 +677,7 @@ module CLI = struct
let s = match output with Stdout -> "stdout" | Channel f -> f in
Format.fprintf formatter "%s" s
in
Arg.conv ~docv:"method" (parse, print)
Arg.conv ~docv:"output" (parse, print)
in
let doc = "Write to file instead of stdout" in
let docv = "file" in
Expand Down

0 comments on commit 82ea02e

Please sign in to comment.