Skip to content

Commit

Permalink
Change databasePath to positional argument
Browse files Browse the repository at this point in the history
  • Loading branch information
acquamarin committed Mar 6, 2023
1 parent 21f3a7c commit ba61497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/shell/shell_runner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ using namespace kuzu::main;

int main(int argc, char* argv[]) {
args::ArgumentParser parser("KuzuDB Shell");
args::Positional<std::string> inputDirFlag(
parser, "databasePath", "Database path.", args::Options::Required);
args::HelpFlag help(parser, "help", "Display this help menu", {'h', "help"});
args::ValueFlag<std::string> inputDirFlag(
parser, "", "Database path.", {'i', "inputDir"}, args::Options::Required);
args::ValueFlag<uint64_t> bpSizeInMBFlag(parser, "",
"Size of buffer pool for default and large page sizes in megabytes", {'d', "defaultBPSize"},
-1u);
Expand Down

0 comments on commit ba61497

Please sign in to comment.