From a59a1d377fcb97557ab01b72d383dbf57ea74536 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Wed, 25 Mar 2020 16:50:11 +0100 Subject: Update usage text This way, the options per action can be specified in a readable manner. --- lib/main.bash | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/lib/main.bash b/lib/main.bash index da2b0ea..42fdd6e 100644 --- a/lib/main.bash +++ b/lib/main.bash @@ -63,17 +63,28 @@ main() { usage() { cat < [options] [arguments] +Usage: + rstar -h + rstar clean + rstar dist [version] + rstar fetch + rstar install [-b backend] [-p prefix] + rstar sysinfo + rstar test rstar is the entry point for all utilities to deal with Rakudo Star. Actions: clean Clean up the repository. - dist Create a distributable tarball of this repository. + dist Create a distributable tarball of this repository. If no + version identifier is specified, it will use the current year + and month in "yyyy.mm" notation. fetch Fetch all required sources. - install Install Raku on this system. - test Run tests on Raku and the bundled ecosystem modules. + install Install Raku on this system. By default, MoarVM will be used + as the only backend. The Rakudo Star directory will be used as + prefix. sysinfo Show information about your system. Useful for debugging. + test Run tests on Raku and the bundled ecosystem modules. EOF } -- cgit v1.1