diff --git a/src/commands/bisect.cr b/src/commands/bisect.cr index 43de875..af79f75 100644 --- a/src/commands/bisect.cr +++ b/src/commands/bisect.cr @@ -22,7 +22,7 @@ module Crimson::Commands add_alias "bi" add_usage "bisect [-F|--fail-first] [-o|--order ] [--from ]" \ - "\n\t[--to ] [-p|--progress] " + "\n\t[--to ] [-p|--progress] " add_argument "args", description: "the command to test", multiple: true, required: true add_option 'F', "fail-first", description: "exit early at the first failed test" diff --git a/src/commands/install.cr b/src/commands/install.cr index ae6bec2..98a8ad4 100644 --- a/src/commands/install.cr +++ b/src/commands/install.cr @@ -10,7 +10,7 @@ module Crimson::Commands DESC add_alias "in" - add_usage "install [-a|--alias ] [-f|--fetch] [-s|--switch] [version]" + add_usage "install [-a|--alias ] [-d|--default] [-f|--fetch] [-s|--switch] [version]" add_argument "version", description: "the version to install" add_option 'a', "alias", description: "set the alias of the version", type: :single diff --git a/src/commands/setup.cr b/src/commands/setup.cr index 89518e0..28aef0c 100644 --- a/src/commands/setup.cr +++ b/src/commands/setup.cr @@ -20,6 +20,8 @@ module Crimson::Commands DESC {% end %} + add_usage "setup [-s|--skip-dependencies] [-y|--yes]" + add_option 's', "skip-dependencies", description: "skip installing external dependencies" add_option 'y', "yes", description: "allow all permission prompts" end diff --git a/src/commands/switch.cr b/src/commands/switch.cr index 9c3a785..c9feed0 100644 --- a/src/commands/switch.cr +++ b/src/commands/switch.cr @@ -19,7 +19,7 @@ module Crimson::Commands add_usage "switch --delete" add_argument "target", description: "the version or version alias to switch to" - add_option 'd', "delete", description: "remove this as" + add_option 'd', "delete", description: "remove the version as current" end def run(arguments : Cling::Arguments, options : Cling::Options) : Nil