From 6269f78ed227df38306c233c2f4290e87d346852 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 18 Apr 2023 09:22:34 +0530 Subject: [PATCH] Make it clearer that exclude operates only on directories --- kittens/ssh/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kittens/ssh/main.py b/kittens/ssh/main.py index c40a9a06b..7290b2e71 100644 --- a/kittens/ssh/main.py +++ b/kittens/ssh/main.py @@ -35,7 +35,7 @@ variables and ~ are not expanded. --exclude type=list A glob pattern. Files with names matching this pattern are excluded from being -transferred. Useful when adding directories. Can +transferred. Only used when copying directories. Can be specified multiple times, if any of the patterns match the file will be excluded. If the pattern includes a :code:`/` then it will match against the full path, not just the filename. In such patterns you can use :code:`/**/` to match zero