Revert the default setting of InitFromCmdLineArgs().

Summary:
Revert the default setting of InitFromCmdLineArgs() as all the callers
currently provide full set of arguments.

Test Plan:
make reduce_levels_test
./reduce_levels_test

Reviewers: haobo, ljin

Reviewed By: ljin

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D19257
main
Yueh-Hsuan Chiang 11 years ago
parent bf4b1528d8
commit 82c31792d0
  1. 8
      util/ldb_cmd.h

@ -55,15 +55,15 @@ public:
static LDBCommand* InitFromCmdLineArgs( static LDBCommand* InitFromCmdLineArgs(
const vector<string>& args, const vector<string>& args,
const Options& options = Options(), const Options& options,
const LDBOptions& ldb_options = LDBOptions() const LDBOptions& ldb_options
); );
static LDBCommand* InitFromCmdLineArgs( static LDBCommand* InitFromCmdLineArgs(
int argc, int argc,
char** argv, char** argv,
const Options& options = Options(), const Options& options,
const LDBOptions& ldb_options = LDBOptions() const LDBOptions& ldb_options
); );
bool ValidateCmdLineOptions(); bool ValidateCmdLineOptions();

Loading…
Cancel
Save