Git development
 help / color / mirror / Atom feed
* [PATCH] Update unpack-objects usage and documentation.
@ 2005-08-12  9:41 Junio C Hamano
  0 siblings, 0 replies; only message in thread
From: Junio C Hamano @ 2005-08-12  9:41 UTC (permalink / raw)
  To: git

It long supported -q flag to suppress progress meter without
properly being documented.
---

 Documentation/git-unpack-objects.txt |    8 +++++++-
 unpack-objects.c                     |    2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)

7d4cacb2e5ba94c45c3d5438c1703d0ea80d4ef1
diff --git a/Documentation/git-unpack-objects.txt b/Documentation/git-unpack-objects.txt
--- a/Documentation/git-unpack-objects.txt
+++ b/Documentation/git-unpack-objects.txt
@@ -9,7 +9,7 @@ git-unpack-objects - Unpack objects from
 
 SYNOPSIS
 --------
-'git-unpack-objects' < pack-file
+'git-unpack-objects' [-q] <pack-file
 
 
 DESCRIPTION
@@ -18,6 +18,12 @@ Reads a packed archive (.pack) from the 
 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
 ------
diff --git a/unpack-objects.c b/unpack-objects.c
--- a/unpack-objects.c
+++ b/unpack-objects.c
@@ -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];

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-12  9:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-12  9:41 [PATCH] Update unpack-objects usage and documentation Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox