about summary refs log tree commit diff stats
path: root/subx/drun
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-02-15 15:48:16 -0800
committerKartik Agaram <vc@akkartik.com>2019-02-15 15:48:16 -0800
commit445843f27798e371d34d91860b05bbf68fa37223 (patch)
tree51f1b76a05f33dd6e31217ca345d320febdc5fbd /subx/drun
parent2dc9b6955b7d2588de65b472d8b9690945ce4107 (diff)
downloadmu-445843f27798e371d34d91860b05bbf68fa37223.tar.gz
4971 - clean up a few scripts
Some of them are no longer useful; drop them.

For the rest, have useful usage messages. And also be a little more principled
in where we introduce CFLAGS, and where we expect it to come in from the
commandline.

I'm choosing not to call gen/run/dgen/drun from test_layers because it
makes test_layers harder for newcomers to read. The scripts aren't the
first thing people should see, they're just useful once you're up and running
hacking on SubX.
Diffstat (limited to 'subx/drun')
-rwxr-xr-xsubx/drun5
1 files changed, 4 insertions, 1 deletions
diff --git a/subx/drun b/subx/drun
index 87092a9d..82584772 100755
--- a/subx/drun
+++ b/subx/drun
@@ -3,7 +3,10 @@
 
 if [ $# -eq 0 ]
 then
-  echo "drun <binary> <args>"
+  echo "Usage: $0 <binary name without directory> <args>"
+  echo
+  echo "Naming convention: Binaries starting with 'ex' will be assumed to live in examples/"
+  echo "Other binaries will be assumed to live in apps/"
   exit 1
 fi