summaryrefslogtreecommitdiff
path: root/src/xxd/xxd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-03 14:21:16 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-03 14:21:16 +0200
commit79cf7c0d4574f15cfad5ad706f175e226c528f2a (patch)
tree338409f65cb4f134187737686328f09fe079e78a /src/xxd/xxd.c
parent9af9778209cd0cbb284f6ff7e88f707418089975 (diff)
downloadvim-git-79cf7c0d4574f15cfad5ad706f175e226c528f2a.tar.gz
patch 8.0.1658: capitalize argument not available in long formv8.0.1658
Problem: Capitalize argument not available in long form. Solution: Recognize -capitalize. Update man page.
Diffstat (limited to 'src/xxd/xxd.c')
-rw-r--r--src/xxd/xxd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xxd/xxd.c b/src/xxd/xxd.c
index bbd9c08a3..d102db451 100644
--- a/src/xxd/xxd.c
+++ b/src/xxd/xxd.c
@@ -510,6 +510,8 @@ main(int argc, char *argv[])
{
if (pp[2] && STRNCMP("ols", pp + 2, 3))
cols = (int)strtol(pp + 2, NULL, 0);
+ else if (pp[2] && STRNCMP("apitalize", pp + 2, 9))
+ capitalize = 1;
else
{
if (!argv[2])