fix lint issues

This commit is contained in:
Spencer Alger
2014-05-01 12:51:05 -07:00
parent ee3c68d6e9
commit 36ac7ca6ef

View File

@ -1,7 +1,7 @@
/* jshint curly:false, latedef:false */ /* jshint curly:false, latedef:false */
// args // args
var optimist = require('optimist') var optimist = require('optimist')
.usage("A utility to generate sample log data.\n\nUsage: $0 [options]") .usage('A utility to generate sample log data.\n\nUsage: $0 [options]')
.options({ .options({
count: { count: {
alias: 'c', alias: 'c',
@ -14,7 +14,7 @@ var optimist = require('optimist')
type: 'number', type: 'number',
required: true, required: true,
describe: 'The number of days before and after today, 1 will equal 3 days total.', describe: 'The number of days before and after today, 1 will equal 3 days total.',
default: 1 default: 1
}, },
host: { host: {
alias: 'h', alias: 'h',
@ -82,7 +82,7 @@ function createIndex(indexName) {
settings: { settings: {
index: { index: {
number_of_shards: argv.shards, number_of_shards: argv.shards,
number_of_replicas: argv.replicas number_of_replicas: argv.replicas
}, },
analysis: { analysis: {
analyzer: { analyzer: {