projects
/
matthijs
/
projects
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
main: Add --test option for a dry run.
[matthijs/projects/backupninja.git]
/
src
/
backupninja
diff --git
a/src/backupninja
b/src/backupninja
index 1c2d71c26cdce22620c60ed7c3494cec0d14c7bc..019dfbdb48cd0489afb793a672d232b75bba1dd0 100755
(executable)
--- a/
src/backupninja
+++ b/
src/backupninja
@@
-64,6
+64,13
@@
def make_option_parser():
"more verbose."
, action="store_true"
, dest="debug")
"more verbose."
, action="store_true"
, dest="debug")
+ parser.add_option( "-t", "--test"
+ , help="Run in testing mode. This means no actions "
+ "are taken, only show what would be done "
+ "(as far as possible without taking "
+ "actions, of course)."
+ , action="store_true"
+ , dest="test")
return parser
def main(argv):
return parser
def main(argv):