Hi,
I just saw that my installed version of git-annex is too old for:
git-annex import --reinject-duplicates [...]
Thus, I downloaded the precompiled binary: git-annex-standalone-amd64.tar.gz 2017-05-10 16:19 54M
First of all, it works fine with this version. However, the "--reinject-duplicates" option is not shown, when calling:
./git-annex help import ## in ~/git-annex.linux/
So, is the help page just outdated, or does git-annex help gets confused because I still have an older version of git-annex installed in the system?
Okay, I did the same on a machine when git-annex was not installed before. Here everything works fine.
So does git-annex help [...] open the locally installed manpages?
I think it should show the help message that belongs to the running binary..
The man page is not outdated, see https://git-annex.branchable.com/git-annex-import/
It seem that
git help
's handling of MANPATH makes it not look first at the man pages from the standalone tarball in this case, and instead it displays the system man page.git annex importfeed --help
will display the shorter documentation that's built into the binary.