diff options
| author | Xin LI <delphij@FreeBSD.org> | 2013-05-13 05:27:43 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2013-05-13 05:27:43 +0000 |
| commit | 368ca3013fcfe6e0e9470294fdc2f837025fa519 (patch) | |
| tree | e98f33b02a182d2465d20464a312850c578da5c1 /option.c | |
| parent | fcf6d6d329faff855e12d3a0758197b6a73842ba (diff) | |
Diffstat (limited to 'option.c')
| -rw-r--r-- | option.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -30,6 +30,7 @@ extern int screen_trashed; extern int less_is_more; extern int quit_at_eof; extern char *every_first_cmd; +extern int opt_use_backslash; /* * Return a printable description of an option. @@ -578,7 +579,7 @@ optstring(s, p_str, printopt, validchars) for (p = s; *p != '\0'; p++) { - if (*p == '\\' && p[1] != '\0') + if (opt_use_backslash && *p == '\\' && p[1] != '\0') { /* Take next char literally. */ ++p; |
