X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fbackupninja.git;a=blobdiff_plain;f=src%2Fbackupninja;h=019dfbdb48cd0489afb793a672d232b75bba1dd0;hp=1c2d71c26cdce22620c60ed7c3494cec0d14c7bc;hb=101bff5ef5fec6382ab572a286c4e79d0312c6cd;hpb=5da4fb89ab2bdad92435be2b4ba38061b2834a36 diff --git a/src/backupninja b/src/backupninja index 1c2d71c..019dfbd 100755 --- a/src/backupninja +++ b/src/backupninja @@ -64,6 +64,13 @@ def make_option_parser(): "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):