aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_unixize.c
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-04 18:25:53 +0000
committerjozan <jozan@noemail.net>2020-11-04 18:25:53 +0000
commita269125c73e54a72953cda8accda949bba0d8bbd (patch)
treed2e530e5e64523b44a0b3a3996f34189f804566d /src/c_unixize.c
parentIn progress (diff)
downloadunixize-a269125c73e54a72953cda8accda949bba0d8bbd.tar.gz
unixize-a269125c73e54a72953cda8accda949bba0d8bbd.tar.bz2
unixize-a269125c73e54a72953cda8accda949bba0d8bbd.tar.xz
unixize-a269125c73e54a72953cda8accda949bba0d8bbd.tar.zst
unixize-a269125c73e54a72953cda8accda949bba0d8bbd.zip
Prompting for confirmation
FossilOrigin-Name: bf69cb11af18c6c4bc824c100d80ade120e14c521db8c9d3389e752fa757a6c7
Diffstat (limited to '')
-rw-r--r--src/c_unixize.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/c_unixize.c b/src/c_unixize.c
index d05c78e..7f3495d 100644
--- a/src/c_unixize.c
+++ b/src/c_unixize.c
@@ -45,28 +45,27 @@
* This is the main function and entrypoint of the program.
*/
-/* #ifdef __linux__ */
-/* # include <linux/limits.h> */
-/* #else */
-/* # include <limits.h> */
-/* #endif */
-
#include <stdio.h>
#include "c_opts.h"
int
-main(int argc, const char* argv[])
+main(int argc,
+ const char* argv[])
{
- struct opts_s opts;
+ struct opts_s opts;
- c_opts(&opts, argc, argv);
+ 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");
return (0);
}