diff src/xxd/xxd.c @ 25992:2294ed638906 v8.2.3529

patch 8.2.3529: xxd usage output is incomplete Commit: https://github.com/vim/vim/commit/34a364877f0c726cdc0779e6999fded9ba959ebe Author: Atsushi SUGAWARA <peanutsjamjam@gmail.com> Date: Sun Oct 17 16:09:08 2021 +0100 patch 8.2.3529: xxd usage output is incomplete Problem: Xxd usage output is incomplete. Solution: Add "bytes" to "-g" flag. (Atsushi Sugawara, closes https://github.com/vim/vim/issues/8944)
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 Oct 2021 17:15:04 +0200
parents 0ff315dd0c48
children 16aaed83522a
line wrap: on
line diff
--- a/src/xxd/xxd.c
+++ b/src/xxd/xxd.c
@@ -224,7 +224,7 @@ exit_with_usage(void)
   fprintf(stderr, "    -c cols     format <cols> octets per line. Default 16 (-i: 12, -ps: 30).\n");
   fprintf(stderr, "    -E          show characters in EBCDIC. Default ASCII.\n");
   fprintf(stderr, "    -e          little-endian dump (incompatible with -ps,-i,-r).\n");
-  fprintf(stderr, "    -g          number of octets per group in normal output. Default 2 (-e: 4).\n");
+  fprintf(stderr, "    -g bytes    number of octets per group in normal output. Default 2 (-e: 4).\n");
   fprintf(stderr, "    -h          print this summary.\n");
   fprintf(stderr, "    -i          output in C include file style.\n");
   fprintf(stderr, "    -l len      stop after <len> octets.\n");