diff options
author | jozan <jozan@noemail.net> | 2020-11-02 23:52:06 +0000 |
---|---|---|
committer | jozan <jozan@noemail.net> | 2020-11-02 23:52:06 +0000 |
commit | 76352a0dd0ba461c332b4332d131d7e8c7d2e560 (patch) | |
tree | 127a2ad6624626e0f3e3dc043ba43fe64c3a114d /src/c_opts.c | |
parent | Learning getopt(3) (diff) | |
download | unixize-76352a0dd0ba461c332b4332d131d7e8c7d2e560.tar.gz unixize-76352a0dd0ba461c332b4332d131d7e8c7d2e560.tar.bz2 unixize-76352a0dd0ba461c332b4332d131d7e8c7d2e560.tar.xz unixize-76352a0dd0ba461c332b4332d131d7e8c7d2e560.tar.zst unixize-76352a0dd0ba461c332b4332d131d7e8c7d2e560.zip |
I'll see norm later
FossilOrigin-Name: 0b5c62a2a0e28af01363d5590620a2354a7284ee937a80f1796fc40fa9c86cde
Diffstat (limited to 'src/c_opts.c')
-rw-r--r-- | src/c_opts.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/c_opts.c b/src/c_opts.c index 886c10e..7c8170e 100644 --- a/src/c_opts.c +++ b/src/c_opts.c @@ -42,7 +42,7 @@ * 2020-11-02 23:37 * Joe * - * This is where we handle command line options + * This is where we handle command line options. */ #include <stdlib.h> @@ -52,10 +52,7 @@ #include "c_opts.h" void -c_opts -(struct opts_s* opts, - int argc, - const char* argv[]) +c_opts(struct opts_s* opts, int argc, const char* argv[]) { int opt; @@ -70,10 +67,10 @@ c_opts } else if (opt == '?') { dprintf( - STDERR_FILENO, - "unixize: %c: unknown option\n", - optopt - ); + STDERR_FILENO, + "unixize: %c: unknown option\n", + optopt + ); exit(1); } } |