summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/Main.py
diff options
context:
space:
mode:
authordgaudet <dgaudet@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2007-05-13 05:43:06 +0000
committerdgaudet <dgaudet@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2007-05-13 05:43:06 +0000
commit7a3688b54eb99e466921eacd8e45f9ead605dd66 (patch)
tree1667a87eac4afc03a4be2d179a8a65955a3abddb /rdiff-backup/rdiff_backup/Main.py
parent31436edba539f5f20e7752b89e492632f454d958 (diff)
downloadrdiff-backup-7a3688b54eb99e466921eacd8e45f9ead605dd66.tar.gz
New --exclude-if-present option (i.e. --exclude-if-present .nobackup).
(Jeff Strunk). git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@797 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Main.py')
-rw-r--r--rdiff-backup/rdiff_backup/Main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/Main.py b/rdiff-backup/rdiff_backup/Main.py
index a7cb9e1..bb8a404 100644
--- a/rdiff-backup/rdiff_backup/Main.py
+++ b/rdiff-backup/rdiff_backup/Main.py
@@ -67,7 +67,7 @@ def parse_cmdlineoptions(arglist):
"exclude-symbolic-links", "exclude-sockets",
"exclude-filelist-stdin", "exclude-globbing-filelist=",
"exclude-globbing-filelist-stdin", "exclude-mirror=",
- "exclude-other-filesystems", "exclude-regexp=",
+ "exclude-other-filesystems", "exclude-regexp=", "exclude-if-present=",
"exclude-special-files", "force", "group-mapping-file=",
"include=", "include-filelist=", "include-filelist-stdin",
"include-globbing-filelist=",
@@ -109,6 +109,7 @@ def parse_cmdlineoptions(arglist):
opt == "--exclude-fifos" or
opt == "--exclude-other-filesystems" or
opt == "--exclude-regexp" or
+ opt == "--exclude-if-present" or
opt == "--exclude-special-files" or
opt == "--exclude-sockets" or
opt == "--exclude-symbolic-links"):