patch 8.0.1658: capitalize argument not available in long form
Problem: Capitalize argument not available in long form.
Solution: Recognize -capitalize. Update man page.
diff --git a/src/version.c b/src/version.c
index 1178d9b..ac06f38 100644
--- a/src/version.c
+++ b/src/version.c
@@ -763,6 +763,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1658,
+/**/
1657,
/**/
1656,
diff --git a/src/xxd/xxd.c b/src/xxd/xxd.c
index bbd9c08..d102db4 100644
--- a/src/xxd/xxd.c
+++ b/src/xxd/xxd.c
@@ -510,6 +510,8 @@
{
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])