From 97d4558d81a7cd7edcaa85dbe6095dd48355ce45 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Thu, 25 Oct 2018 00:05:55 +0200 Subject: [PATCH] main: update help text with new subcommands --- main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 58d81159..181bccc6 100644 --- a/main.go +++ b/main.go @@ -382,9 +382,11 @@ func usage() { fmt.Fprintf(os.Stderr, "usage: %s command [-printir] [-target=] -o \n", os.Args[0]) fmt.Fprintln(os.Stderr, "\ncommands:") fmt.Fprintln(os.Stderr, " build: compile packages and dependencies") + fmt.Fprintln(os.Stderr, " run: compile and run immediately") fmt.Fprintln(os.Stderr, " flash: compile and flash to the device") + fmt.Fprintln(os.Stderr, " gdb: run/flash and immediately enter GDB") + fmt.Fprintln(os.Stderr, " clean: empty cache directory (" + cacheDir() + ")") fmt.Fprintln(os.Stderr, " help: print this help text") - fmt.Fprintln(os.Stderr, " run: run package in an interpreter") fmt.Fprintln(os.Stderr, "\nflags:") flag.PrintDefaults() }