summaryrefslogtreecommitdiff
authorPekka Paalanen <ppaalanen@gmail.com>2012-08-22 06:36:52 (GMT)
committer Pekka Paalanen <ppaalanen@gmail.com>2012-08-22 07:12:37 (GMT)
commitc1b0881f4db2447f537c2fe8e2be4abf82f5ed28 (patch) (side-by-side diff)
tree0e8a354503d899e28f063742d2bab88b7297a17a
parent3c775f8f16573fb33b56140f1ca7672865c6cbc7 (diff)
downloadandrogenizer-c1b0881f4db2447f537c2fe8e2be4abf82f5ed28.tar.gz
androgenizer-c1b0881f4db2447f537c2fe8e2be4abf82f5ed28.tar.bz2
change "OH NOES" into a useful message
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.c b/options.c
index 15e5585..a1d0153 100644
--- a/options.c
+++ b/options.c
@@ -537,7 +537,7 @@ struct project *options_parse(int argc, char **args)
if (nm == MODE_UNDEFINED) {
switch (mode) {
case MODE_UNDEFINED:
- assert(!!!"OH NOES!!!");
+ die("Androgenizer arguments must start with a valid -: switch, like -:PROJECT.");
break;
case MODE_PROJECT:
p = new_project(arg, SCRIPT_SUBDIRECTORY, bt);