2011-05-02 20:56:13 -05:00
|
|
|
#!/usr/bin/env python
|
2013-01-18 01:28:42 -06:00
|
|
|
# xfail-license
|
2011-05-02 20:56:13 -05:00
|
|
|
|
2011-05-12 14:56:15 -05:00
|
|
|
import snapshot, sys
|
2011-11-30 20:33:39 -06:00
|
|
|
|
2011-12-06 19:50:21 -06:00
|
|
|
if len(sys.argv) == 3:
|
2011-11-30 20:33:39 -06:00
|
|
|
print(snapshot.make_snapshot(sys.argv[1], sys.argv[2], ""))
|
|
|
|
else:
|
|
|
|
print(snapshot.make_snapshot(sys.argv[1], sys.argv[2], sys.argv[3]))
|