aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_opts.h
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-04 19:16:29 +0000
committerjozan <jozan@noemail.net>2020-11-04 19:16:29 +0000
commitac0e829733b02020b391f2dfd2f3f9f8f493ebdd (patch)
treeca1b12d70c418f8cebb71e9ac12907fbafce02d1 /src/c_opts.h
parentgotopt (diff)
downloadunixize-ac0e829733b02020b391f2dfd2f3f9f8f493ebdd.tar.gz
unixize-ac0e829733b02020b391f2dfd2f3f9f8f493ebdd.tar.bz2
unixize-ac0e829733b02020b391f2dfd2f3f9f8f493ebdd.tar.xz
unixize-ac0e829733b02020b391f2dfd2f3f9f8f493ebdd.tar.zst
unixize-ac0e829733b02020b391f2dfd2f3f9f8f493ebdd.zip
Correctly parsed options
FossilOrigin-Name: 516ec4118792b465c8f32e4294714c6e5d604fdbfaa709668df82ce8f25f502a
Diffstat (limited to '')
-rw-r--r--src/c_opts.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/c_opts.h b/src/c_opts.h
index 5c08b34..27bacb0 100644
--- a/src/c_opts.h
+++ b/src/c_opts.h
@@ -44,17 +44,18 @@
*/
#ifndef __C_OPTS_H__
-#define __C_OPTS_H__ value
+#define __C_OPTS_H__
#ifdef __linux__
-# include <linux/limits.h>
+#include <linux/limits.h>
#else
-# include <limits.h>
+#include <limits.h>
#endif
#include "c_unixize.h"
-#define C_OPTS "ahinpRv"
+#define C_OPTS "ahinpRv"
+#define C_USAGE_FMT "usage: unixize [-%s] [directory]\n"
struct opts_s {
bool_t hidden;