diff --git a/xdist/plugin.py b/xdist/plugin.py index d48530e..bcfc906 100644 --- a/xdist/plugin.py +++ b/xdist/plugin.py @@ -28,9 +28,9 @@ def pytest_addoption(parser): group._addoption('-d', action="store_true", dest="distload", default=False, help="load-balance tests. shortcut for '--dist=load'") - group.addoption('--rsyncdir', action="append", default=[], metavar="rsyncdirs", + group.addoption('--rsyncdir', action="append", default=[], metavar="DIR", help="add directory for rsyncing to remote tx nodes.") - group.addoption('--rsyncignore', action="append", default=[], metavar="rsyncignores", + group.addoption('--rsyncignore', action="append", default=[], metavar="GLOB", help="add expression for ignores when rsyncing to remote tx nodes.") parser.addini('rsyncdirs', 'list of (relative) paths to be rsynced for'