mod --repo-dir option

Signed-off-by: Karfield Chen <karfield@126.com>