Commit 68ff6b62 authored by Dev on Jimbo's avatar Dev on Jimbo
Browse files

minor bugs

parent e123b880
......@@ -79,7 +79,7 @@ if __name__ == "__main__":
parser = OptionParser(usage="%prog [options] target")
parser.add_option("-s", "--server", dest="server",
help="host and port of target server (default = %default)",default = "jimbo:27017")
parser.add_option("-d", "--database", dest="server",
parser.add_option("-d", "--database", dest="database",
help="database name (default = %default)",default = "sdc_test")
parser.add_option("-e", "--error-dir", dest="error_dir",
help="directory to store error logs (default = current working directory)",default=os.getcwd())
......@@ -97,5 +97,6 @@ if __name__ == "__main__":
server = options.server
db = options.database
errdir = options.error_dir
fill_db(folder, db, errdir, options.force_import)
fill_db(folder, server, db, errdir, options.force_import)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment