Subversion Repositories zfs_utils

Rev

Rev 54 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 54 Rev 55
Line 64... Line 64...
64
# show help and exit
64
# show help and exit
65
if ($opts{'help'} || $opts{'h'}) {
65
if ($opts{'help'} || $opts{'h'}) {
66
    print "Usage: cleanSnaps [--force|-f] [--verbose|-v] [--timeshift|-t <shift>] [--help|-h] [pool]\n";
66
    print "Usage: cleanSnaps [--force|-f] [--verbose|-v] [--timeshift|-t <shift>] [--help|-h] [pool]\n";
67
    print "  --force, -f         actually destroy snapshots (default: dry-run)\n";
67
    print "  --force, -f         actually destroy snapshots (default: dry-run)\n";
68
    print "  --verbose, -v       verbose logging\n";
68
    print "  --verbose, -v       verbose logging\n";
69
    print "  --timeshift, -t     time shift, simulate running at a different time (examples: 2m, -4w, +3d)\n";
69
    print "  --timeshift, -t     time shift, simulate running at a previous time (examples: 2m, -4w, +3d)\n";
70
    print "  --help, -h          show this help and exit\n";
70
    print "  --help, -h          show this help and exit\n";
71
    exit 0;
71
    exit 0;
72
}
72
}
73
 
73
 
74
# compute simulated "now" if the user requested a time shift
74
# compute simulated "now" if the user requested a time shift