dunpack: write to stdout and describe in man page - dedup - deduplicating backup program (HTM) git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ (DIR) Log (DIR) Files (DIR) Refs (DIR) Tags (DIR) README (DIR) LICENSE --- (DIR) commit 067e9ecb71b543b24683fc32bf03dc2e2874a55d (DIR) parent bb44cc730e657c5aca7aa27841e7fdfa6c083cdf (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 17 Apr 2019 20:58:35 +0200 dunpack: write to stdout and describe in man page Diffstat: M dunpack.1 | 2 +- M dunpack.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/dunpack.1 b/dunpack.1 @@ -13,7 +13,7 @@ .Nm extracts the snapshot specified by .Ar id -from the dedup repository. +from the dedup repository and writes the data to stdout. If no .Ar repo is specified, then the current directory (DIR) diff --git a/dunpack.c b/dunpack.c @@ -278,7 +278,7 @@ main(int argc, char *argv[]) init(); str2bin(id, md); args.md = md; - args.fd = STDIN_FILENO; + args.fd = STDOUT_FILENO; args.ret = -1; walk_snap(extract, &args); if (args.ret != 0)