Skip to content

Commit

Permalink
Fix Realm2JSON help
Browse files Browse the repository at this point in the history
  • Loading branch information
jedelbo committed Aug 14, 2024
1 parent ab22ea5 commit 314b382
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/realm/exec/realm2json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@

const char* legend =
"Simple tool to output the JSON representation of a Realm:\n"
" realm2json [--output-mode N] <.realm file>\n"
" realm2json [--output-mode N] [--filter <filterexpr>] <.realm file>\n"
"\n"
"Options:\n"
" --schema: Just output the schema of the realm\n"
" --output-mode: Optional formatting for the output \n"
" 0 - JSON Object\n"
" 1 - MongoDB Extended JSON (XJSON)\n"
" 2 - An extension of XJSON that adds wrappers for embdded objects, links, dictionaries, etc\n"
" --filter: Only output objects matching the filter. Filter syntax: '<table name>:<RQL filter expression>'"
"\n";

template <typename FormatStr>
Expand Down

0 comments on commit 314b382

Please sign in to comment.