Skip to content

Commit

Permalink
Improve the help docs for the --in-memory cli flag (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
kulakowski authored Aug 7, 2023
1 parent 905d206 commit a0173d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/standalone/src/subcommands/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pub fn cli(mode: ProgramMode) -> clap::Command {
let in_memory_arg = Arg::new("in_memory")
.long("in-memory")
.action(SetTrue)
.help("Whether to run the database entirely in memory");
.help("If specified the database will run entirely in memory. After the process exits all data will be lost.");

// the default root for files, this *should* be the home directory unless it cannot be determined.
let default_root = if let Some(dir) = dirs::home_dir() {
Expand Down

0 comments on commit a0173d8

Please sign in to comment.