ref: e1967b76c1fdf21a0b8f27b608d43b5b6b3366bc
parent: 6f479559c4aa6efaaa4352c70d1e7755d2267573
author: Ryan Gonzalez <rymg19@gmail.com>
date: Thu Mar 3 09:03:42 EST 2016
Fix odd "Unexpected argument" message
--- a/util/util.c
+++ b/util/util.c
@@ -175,7 +175,7 @@
c = *ctx->curarg;
ctx->curarg++;
if (!optinfo(ctx, c, &take, &mand)) {
- printf("Unexpected argument %c\n", *ctx->curarg);
+ printf("Unexpected argument %c\n", c);
exit(1);
}