From 5abd42590cca99796718f8efa2c17b3f56158f41 Mon Sep 17 00:00:00 2001 From: Shinya Fujino Date: Fri, 1 Mar 2024 00:30:04 +0900 Subject: [PATCH] fix: inconsistency and grammar in help messages (#22) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix punctuation and grammar in help messages * jsr -> JSR * deno fmt * chore: uppercase URL Co-authored-by: Roj [roːʒ] --------- Co-authored-by: Marvin Hagemeister Co-authored-by: Roj [roːʒ] --- src/bin.ts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/bin.ts b/src/bin.ts index 17a5e5b..6ff400b 100644 --- a/src/bin.ts +++ b/src/bin.ts @@ -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."], ]) } @@ -66,7 +69,7 @@ ${ prettyPrintRow([ [ "--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", @@ -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."], ]) } `);