doc: minor --rsyncable doc fixes
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Mar 2016 19:29:34 +0000 (11:29 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Mar 2016 19:29:54 +0000 (11:29 -0800)
* doc/gzip.texi (Sample): Mention --rsyncable.
* gzip.c (help): Sort and do not capitalize the new --rsyncable
help string.

doc/gzip.texi
gzip.c

index 2721e9d3640d2414c539432726bb40011a30adf0..1d8d100fa81547eb0c3a60a5931ea1e0960db429 100644 (file)
@@ -203,6 +203,7 @@ Mandatory arguments to long options are mandatory for short options too.
   -N, --name        save or restore the original name and time stamp
   -q, --quiet       suppress all warnings
   -r, --recursive   operate recursively on directories
+      --rsyncable   make rsync-friendly archive
   -S, --suffix=SUF  use suffix SUF on compressed files
       --synchronous synchronous output (safer if system crashes, but slower)
   -t, --test        test compressed file integrity
diff --git a/gzip.c b/gzip.c
index e243f2edf357b57132fe9fa7bf4163f2f51be94c..1618f19c5e148597f6af9c1916af22aa1bc4af3b 100644 (file)
--- a/gzip.c
+++ b/gzip.c
@@ -364,6 +364,7 @@ local void help()
 #if ! NO_DIR
  "  -r, --recursive   operate recursively on directories",
 #endif
+ "      --rsyncable   make rsync-friendly archive",
  "  -S, --suffix=SUF  use suffix SUF on compressed files",
  "      --synchronous synchronous output (safer if system crashes, but slower)",
  "  -t, --test        test compressed file integrity",
@@ -375,7 +376,6 @@ local void help()
  "  -Z, --lzw         produce output compatible with old compress",
  "  -b, --bits=BITS   max number of bits per code (implies -Z)",
 #endif
- "      --rsyncable   Make rsync-friendly archive",
  "",
  "With no FILE, or when FILE is -, read standard input.",
  "",