rust/src/etc/make-snapshot.py

9 lines
211 B
Python
Raw Normal View History

#!/usr/bin/env python
2011-05-12 14:56:15 -05:00
import snapshot, sys
if len(sys.argv) == 2:
print(snapshot.make_snapshot(sys.argv[1], sys.argv[2], ""))
else:
print(snapshot.make_snapshot(sys.argv[1], sys.argv[2], sys.argv[3]))