~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to start-loggerhead

  • Committer: Martin Albisetti
  • Date: 2008-08-06 19:27:02 UTC
  • Revision ID: argentina@gmail.com-20080806192702-k5wjw7q3b655ch2n
Clean up unused/inexistant import

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
    default_pidfile = os.path.join(home, 'loggerhead.pid')
80
80
    default_configfile = os.path.join(home, 'loggerhead.conf')
81
81
    default_log_folder = os.path.join(home, 'logs')
82
 
    parser = OptionParser(usage='usage: %prog [options]', version='%prog')
 
82
    parser = OptionParser(usage='usage: %prog [options]', version='%prog ' + release.version)
83
83
    parser.add_option('-f', '--foreground', action='store_true', dest='foreground', default=False,
84
84
                      help="run in the foreground; don't daemonize")
85
85
    parser.add_option('-C', '--check', action='store_true', dest='check', default=False,