Update unpack-objects usage and documentation.
authorJunio C Hamano <junkio@cox.net>
Fri, 12 Aug 2005 08:45:52 +0000 (01:45 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 12 Aug 2005 17:38:20 +0000 (10:38 -0700)
It long supported -q flag to suppress progress meter without
properly being documented.

Documentation/git-unpack-objects.txt
unpack-objects.c

index a12b8438bfd67df7fdee520fd039a9b39415d3bb..a42a75e0773384aacec4d1c05c3a1d86aec01e6a 100644 (file)
@@ -9,7 +9,7 @@ git-unpack-objects - Unpack objects from a packed archive.
 
 SYNOPSIS
 --------
-'git-unpack-objects' pack-file
+'git-unpack-objects' [-q] <pack-file
 
 
 DESCRIPTION
@@ -18,6 +18,12 @@ Reads a packed archive (.pack) from the standard input, and
 expands the objects contained in the pack into "one-file
 one-object" format in $GIT_OBJECT_DIRECTORY.
 
+OPTIONS
+-------
+-q::
+       The command usually shows percentage progress.  This
+       flag suppresses it.
+
 
 Author
 ------
index 7e7be5cbd42e2f6ad178f1a2832673c8e9279e4e..8ae1a1c0fdab32e6c596872d857f40c5f87b97d4 100644 (file)
@@ -6,7 +6,7 @@
 #include <sys/time.h>
 
 static int dry_run, quiet;
-static const char unpack_usage[] = "git-unpack-objects < pack-file";
+static const char unpack_usage[] = "git-unpack-objects [-q] < pack-file";
 
 /* We always read in 4kB chunks. */
 static unsigned char buffer[4096];