139
139
libc.prctl(15, 'caffeine', 0, 0, 0)
141
141
## handle command line arguments
143
parser.add_option("-a", "--activate", action="store_true",
147
parser.add_option("-d", "--deactivate", action="store_false",
143
parser.add_argument('-V', '--version', action='version', version='caffeine ' + VERSION)
154
146
## Makes sure that only one instance of the Caffeine is run for
155
147
## each user on the system.