86
by Aaron Bentley
Added Michael Ellerman's shelf/unshelf |
1 |
#!/usr/bin/python
|
2 |
||
3 |
import sys |
|
4 |
import shelf |
|
5 |
||
6 |
def main(args): |
|
7 |
finished = shelf.parse_args(args) |
|
8 |
||
9 |
if finished: |
|
10 |
return True |
|
11 |
else: |
|
12 |
return shelf.unshelve() |
|
13 |
||
14 |
if __name__ == '__main__': |
|
15 |
sys.exit(main(sys.argv) and 0 or 1) |