~ snapshotter -h
usage: snapshotter [-h] [-n] [--min-snapshots MIN_SNAPSHOTS] SRC DEST
positional arguments:
SRC the path to be backed up
DEST the directory to create snapshots in
optional arguments:
-h, --help show this help message and exit
-n, --dry-run Perform a trial-run with no changes made (pass the
--dry-run option to rsync)
--min-snapshots MIN_SNAPSHOTS
The minimum number of snapshots to leave behind when
rolling out old snapshots to make space for new ones
(default: 3)
Traceback (most recent call last):
File "/usr/local/bin/snapshotter", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/snapshotter/snapshotter.py", line 446, in main
sys.exit(err.output)
AttributeError: 'CommandLineArgumentsError' object has no attribute 'output'