diff options
-rw-r--r-- | Documentation/git-unpack-objects.txt | 8 | ||||
-rw-r--r-- | unpack-objects.c | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/Documentation/git-unpack-objects.txt b/Documentation/git-unpack-objects.txt index a12b8438bf..a42a75e077 100644 --- a/Documentation/git-unpack-objects.txt +++ b/Documentation/git-unpack-objects.txt @@ -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 ------ diff --git a/unpack-objects.c b/unpack-objects.c index 7e7be5cbd4..8ae1a1c0fd 100644 --- 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]; |