diff --git a/doc/self-hosted/index.md b/doc/self-hosted/index.md index 17bf6c96c..b192cf207 100644 --- a/doc/self-hosted/index.md +++ b/doc/self-hosted/index.md @@ -42,7 +42,7 @@ Options: --cert --cert-key -e, --extensions-dir Set the root path for extensions. - -d --user-data-dir Specifies the directory that user data is kept in, useful when running as root. + -d, --user-data-dir Specifies the directory that user data is kept in, useful when running as root. --data-dir DEPRECATED: Use '--user-data-dir' instead. Customize where user-data is stored. -h, --host Customize the hostname. (default: "0.0.0.0") -o, --open Open in the browser on startup. diff --git a/packages/server/src/cli.ts b/packages/server/src/cli.ts index 8433a4033..c0f896ff6 100644 --- a/packages/server/src/cli.ts +++ b/packages/server/src/cli.ts @@ -28,7 +28,7 @@ commander.version(process.env.VERSION || "development") .option("-e, --extensions-dir ", "Override the main default path for user extensions.") .option("--extra-extensions-dir [dir]", "Path to an extra user extension directory (repeatable).", collect, []) .option("--extra-builtin-extensions-dir [dir]", "Path to an extra built-in extension directory (repeatable).", collect, []) - .option("-d --user-data-dir ", "Specifies the directory that user data is kept in, useful when running as root.") + .option("-d, --user-data-dir ", "Specifies the directory that user data is kept in, useful when running as root.") .option("--data-dir ", "DEPRECATED: Use '--user-data-dir' instead. Customize where user-data is stored.") .option("-h, --host ", "Customize the hostname.", "0.0.0.0") .option("-o, --open", "Open in the browser on startup.", false)