aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_opts.h
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-08 19:08:54 +0000
committerjozan <jozan@noemail.net>2020-11-08 19:08:54 +0000
commitb5881c0c80ec1ad068b3d4013348da30fc53b0ff (patch)
tree38795db51ed28ba423908a0a2a1357010f65c2d8 /src/c_opts.h
parentrename (diff)
downloadunixize-b5881c0c80ec1ad068b3d4013348da30fc53b0ff.tar.gz
unixize-b5881c0c80ec1ad068b3d4013348da30fc53b0ff.tar.bz2
unixize-b5881c0c80ec1ad068b3d4013348da30fc53b0ff.tar.xz
unixize-b5881c0c80ec1ad068b3d4013348da30fc53b0ff.tar.zst
unixize-b5881c0c80ec1ad068b3d4013348da30fc53b0ff.zip
Added an option to subst extensions
FossilOrigin-Name: d1d91b3f86b63666fe96851ba3b2af0e49f3cf00168fc4fa643b278dd8bb51d8
Diffstat (limited to 'src/c_opts.h')
-rw-r--r--src/c_opts.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/c_opts.h b/src/c_opts.h
index b7d734f..16ec1de 100644
--- a/src/c_opts.h
+++ b/src/c_opts.h
@@ -48,9 +48,11 @@
#include "c_unixize.h"
-#define C_OPTS "ahinpRv"
+#define C_OPTS "ahinpRve:"
#define C_RECURSIVE_CHAR 'r'
-#define C_USAGE_FMT "usage: unixize [-%s] [directory]\n"
+#define C_USAGE_FMT "usage: unixize [-%s] [-e version] [directory]\n"
+#define C_C_OPT_FMT \
+ "unixize: unsupported -e value '%s' (must be always 0, 1 or 2)\n"
bool_t c_get_opts(struct opts_s*, int, const char*[]);