From b5881c0c80ec1ad068b3d4013348da30fc53b0ff Mon Sep 17 00:00:00 2001 From: jozan Date: Sun, 8 Nov 2020 19:08:54 +0000 Subject: Added an option to subst extensions FossilOrigin-Name: d1d91b3f86b63666fe96851ba3b2af0e49f3cf00168fc4fa643b278dd8bb51d8 --- src/c_opts.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/c_opts.h') 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*[]); -- cgit v1.2.3