Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCORE-2178: Fix Realm2JSON help #7984

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading