Skip to content

Commit

Permalink
0.1.1: update help info
Browse files Browse the repository at this point in the history
  • Loading branch information
zvezdochiot committed Jan 5, 2019
1 parent e1304df commit 0521b3f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#PROJECT: undup
#URL: https://github.com/radii/undup
#AUTHORS:
Andrew Isaacson <[email protected]>
Empty file removed ChangeLog
Empty file.
Empty file removed NEWS
Empty file.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ USAGE
-----

tar cf - dir | undup | xz > dir.tar.undup.xz
xzcat dir.tar.undup.xz | undup -d -o dir.tar; tar xf dir.tar
xzcat dir.tar.undup.xz | undup -d | tar xv

SAMPLE RESULTS
--------------
Expand Down
2 changes: 1 addition & 1 deletion undup.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ u64 ntohll(u64 x)

void usage(const char *cmd)
{
die("Usage: %s [-d] [-o output] [input]\n", cmd);
die("Usage: %s [-d] [-o output] [input]\nExample:\n-compress: tar cvf - dir | %s | xz > dir.tar.undup.xz\n-decompress: xzcat dir.tar.undup.xz | %s -d | tar xv\n", cmd, cmd, cmd);
}

void hash(const void *buf, int n, void *outbuf)
Expand Down

0 comments on commit 0521b3f

Please sign in to comment.