Skip to content

Commit

Permalink
Update unpack-objects usage and documentation.
Browse files Browse the repository at this point in the history
It long supported -q flag to suppress progress meter without
properly being documented.
  • Loading branch information
Junio C Hamano committed Aug 12, 2005
1 parent 0d62fb5 commit 87b7b84
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Documentation/git-unpack-objects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
------
Expand Down
2 changes: 1 addition & 1 deletion unpack-objects.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 87b7b84

Please sign in to comment.