Skip to content

Commit

Permalink
fix: inconsistency and grammar in help messages (#22)
Browse files Browse the repository at this point in the history
* Fix punctuation and grammar in help messages

* jsr -> JSR

* deno fmt

* chore: uppercase URL

Co-authored-by: Roj [roːʒ] <[email protected]>

---------

Co-authored-by: Marvin Hagemeister <[email protected]>
Co-authored-by: Roj [roːʒ] <[email protected]>
  • Loading branch information
3 people authored Feb 29, 2024
1 parent 83cf2e2 commit 5abd425
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,19 @@ function printHelp() {
Usage:
${
prettyPrintRow([
["jsr add @std/log", 'Install the "@std/log" package from jsr.io'],
["jsr remove @std/log", 'Remove the "@std/log" package from the project'],
["jsr add @std/log", 'Install the "@std/log" package from jsr.io.'],
[
"jsr remove @std/log",
'Remove the "@std/log" package from the project.',
],
])
}
Commands:
${
prettyPrintRow([
["i, install, add", "Install one or more jsr packages"],
["r, uninstall, remove", "Remove one or more jsr packages"],
["i, install, add", "Install one or more JSR packages."],
["r, uninstall, remove", "Remove one or more JSR packages."],
["publish", "Publish a package to the JSR registry."],
])
}
Expand Down Expand Up @@ -66,7 +69,7 @@ ${
prettyPrintRow([
[
"--token <Token>",
"The API token to use when publishing. If unset, interactive authentication is be used.",
"The API token to use when publishing. If unset, interactive authentication will be used.",
],
[
"--dry-run",
Expand All @@ -79,7 +82,7 @@ ${
Environment variables:
${
prettyPrintRow([
["JSR_URL", "Use a different registry url for the publish command"],
["JSR_URL", "Use a different registry URL for the publish command."],
])
}
`);
Expand Down

0 comments on commit 5abd425

Please sign in to comment.