summaryrefslogtreecommitdiffstats
path: root/makel.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--makel.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/makel.c b/makel.c
index 514be21..eeda146 100644
--- a/makel.c
+++ b/makel.c
@@ -1,7 +1,13 @@
/* See LICENSE file for copyright and license details. */
#include "common.h"
-NUSAGE(EXIT_ERROR, "[-f makefile]");
+const char *argv0 = "makel";
+
+static void
+usage(void) {
+ fprintf(stderr, "%s [-f makefile]\n", argv0);
+ exit(EXIT_ERROR);
+}
int exit_status = 0;
@@ -149,8 +155,6 @@ main(int argc, char *argv[])
size_t nlines;
size_t i;
- libsimple_default_failure_exit = EXIT_ERROR;
-
/* make(1) shall support mixing of options and operands (up to --) */
ARGBEGIN {
case 'f':