aboutsummaryrefslogtreecommitdiffstats
path: root/opttbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'opttbl.c')
-rw-r--r--opttbl.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/opttbl.c b/opttbl.c
index 0146793658de..6f582bf50b97 100644
--- a/opttbl.c
+++ b/opttbl.c
@@ -52,6 +52,7 @@ public int use_lessopen; /* Use the LESSOPEN filter */
public int quit_on_intr; /* Quit on interrupt */
public int follow_mode; /* F cmd Follows file desc or file name? */
public int oldbot; /* Old bottom of screen behavior {{REMOVE}} */
+public int opt_use_backslash; /* Use backslash escaping in option parsing */
#if HILITE_SEARCH
public int hilite_search; /* Highlight matched search patterns? */
#endif
@@ -115,6 +116,7 @@ static struct optname pound_optname = { "shift", NULL };
static struct optname keypad_optname = { "no-keypad", NULL };
static struct optname oldbot_optname = { "old-bot", NULL };
static struct optname follow_optname = { "follow-name", NULL };
+static struct optname use_backslash_optname = { "use-backslash", NULL };
/*
@@ -446,6 +448,14 @@ static struct loption option[] =
NULL
}
},
+ { OLETTER_NONE, &use_backslash_optname,
+ BOOL, OPT_OFF, &opt_use_backslash, NULL,
+ {
+ "Use backslash escaping in command line parameters",
+ "Don't use backslash escaping in command line parameters",
+ NULL
+ }
+ },
{ '\0', NULL, NOVAR, 0, NULL, NULL, { NULL, NULL, NULL } }
};