aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_opts.c
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-27 21:58:23 +0000
committerjozan <jozan@noemail.net>2020-11-27 21:58:23 +0000
commit9f93facf36146013a40040ad910d9e467b3f1681 (patch)
tree425465e1c9d01e512a223d875a81ac278dd65e6e /src/c_opts.c
parentAdded install and uninstall rules (diff)
downloadunixize-9f93facf36146013a40040ad910d9e467b3f1681.tar.gz
unixize-9f93facf36146013a40040ad910d9e467b3f1681.tar.bz2
unixize-9f93facf36146013a40040ad910d9e467b3f1681.tar.xz
unixize-9f93facf36146013a40040ad910d9e467b3f1681.tar.zst
unixize-9f93facf36146013a40040ad910d9e467b3f1681.zip
Completed man page
FossilOrigin-Name: a94793605a8a1faef6be0c11bdad80c3c915644aa4d442fcac4ba37d7f62baee
Diffstat (limited to '')
-rw-r--r--src/c_opts.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/c_opts.c b/src/c_opts.c
index 996643e..1664523 100644
--- a/src/c_opts.c
+++ b/src/c_opts.c
@@ -160,7 +160,7 @@ c_get_opts
}
else if (opt == 'h') {
c_dump_usage();
- exit(0);
+ exit(EXIT_SUCCESS);
}
else if (opt == 'i') {
opts->confirm = TRUE;
@@ -190,7 +190,7 @@ c_get_opts
C_C_OPT_FMT,
optarg
);
- exit(1);
+ exit(EXIT_FAILURE);
}
else {
opts->cxx = optarg[0] - 48;
@@ -198,7 +198,7 @@ c_get_opts
}
else if (opt == '?') {
c_dump_usage();
- exit(1);
+ exit(EXIT_FAILURE);
}
}
if (
@@ -206,7 +206,7 @@ c_get_opts
argv[optind] == NULL
) {
c_dump_usage();
- exit(1);
+ exit(EXIT_FAILURE);
}
if (
argv[0][0] != C_RECURSIVE_CHAR &&