aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-03-25 16:50:11 +0100
committerPatrick Spek <p.spek@tyil.nl>2020-03-25 16:50:11 +0100
commita59a1d377fcb97557ab01b72d383dbf57ea74536 (patch)
tree0d9232201e9b8784afdcc6c1e6d6b30efa26dd64
parent4082a07611d1eff4556296d99c985ee068c15acc (diff)
Update usage text
This way, the options per action can be specified in a readable manner.
-rw-r--r--lib/main.bash19
1 files 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 <<EOF
-Usage: rstar <action> [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
}