Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(carl): correct a few CLI docstrings #210

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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