diff options
author | jozan <jozan@noemail.net> | 2020-11-04 19:38:06 +0000 |
---|---|---|
committer | jozan <jozan@noemail.net> | 2020-11-04 19:38:06 +0000 |
commit | ce1e4beee7a7f881363648deb663c00e38078563 (patch) | |
tree | cb7af0b3b42b6bef4d0465b9b5b8140bafe49587 /src/c_unixize.c | |
parent | Correctly parsed options (diff) | |
download | unixize-ce1e4beee7a7f881363648deb663c00e38078563.tar.gz unixize-ce1e4beee7a7f881363648deb663c00e38078563.tar.bz2 unixize-ce1e4beee7a7f881363648deb663c00e38078563.tar.xz unixize-ce1e4beee7a7f881363648deb663c00e38078563.tar.zst unixize-ce1e4beee7a7f881363648deb663c00e38078563.zip |
Now getting directory files
FossilOrigin-Name: 1875ab7cf0cbb651b8b45271cb5cd5b5c01974caa0128856aa1fd64c26480a7c
Diffstat (limited to '')
-rw-r--r-- | src/c_unixize.c | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/src/c_unixize.c b/src/c_unixize.c index 7f3495d..c78af26 100644 --- a/src/c_unixize.c +++ b/src/c_unixize.c @@ -45,27 +45,22 @@ * This is the main function and entrypoint of the program. */ -#include <stdio.h> - #include "c_opts.h" +void +c_init(struct opts_s* opts) +{ + (void)opts; +} + int -main(int argc, - const char* argv[]) +main(int argc, + const char* argv[]) { struct opts_s opts; c_get_opts(&opts, argc, argv); - if (opts.recursive == TRUE) - printf("Recursive\n"); - if (opts.verbose == TRUE) - printf("Verbose\n"); - if (opts.pretend == TRUE) - printf("Pretend\n"); - if (opts.hidden == TRUE) - printf("Hidden\n"); - if (opts.hyphen == TRUE) - printf("Hyphen\n"); + c_init(&opts); return (0); } |