shithub: orca

Download patch

ref: 5068a37553e1514cd1e0c347cca9b0db5993bad1
parent: d95aa911710918e4650cf51ee08ad6005bed5446
author: cancel <cancel@cancel.fm>
date: Sun Jan 5 01:13:52 EST 2020

Add better error message for old opts usage in tool

Will hopefully make it easier for people to use old guides floating
around on the internet.

--- a/tool
+++ b/tool
@@ -426,6 +426,13 @@
     fi
     ;;
   help) print_usage; exit 0;;
+  -*)
+    echo "The syntax has changed for the 'tool' build script." >&2
+    echo "The options now need to come after the command name." >&2
+    echo "Do it like this instead:" >&2
+    echo "./tool build --portmidi orca" >&2
+    exit 1
+    ;;
   *) fatal "Unrecognized command $cmd";;
 esac