mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Fixed bug #941013.
This commit is contained in:
parent
20ac0993bc
commit
4a232f2da9
@ -44,7 +44,7 @@ def main():
|
||||
conf.supybot.log.stdout.setValue(False)
|
||||
#conf.supybot.log.level.set('DEBUG')
|
||||
|
||||
parser = optparse.OptionParser(usage='Usage: %prog [options] <configFile>',
|
||||
parser = optparse.OptionParser(usage='Usage: %prog [options] <users.conf>',
|
||||
version='supybot %s' % conf.version)
|
||||
parser.add_option('-u', '--username', action='store', default='',
|
||||
dest='name',
|
||||
@ -64,7 +64,7 @@ def main():
|
||||
'this option may be given multiple times.')
|
||||
(options, args) = parser.parse_args()
|
||||
if len(args) is not 1:
|
||||
parser.error('specify the configuration file you\'d like to use.')
|
||||
parser.error('Specify the users.conf file you\'d like to use.')
|
||||
|
||||
filename = os.path.abspath(args[0])
|
||||
conf.supybot.directories.log.setValue('/')
|
||||
|
Loading…
Reference in New Issue
Block a user