From 91bcbe496ba7a11bab7dbae0f99a58de117d63f5 Mon Sep 17 00:00:00 2001 From: Sebastian Duda <32878822+8sd@users.noreply.github.com> Date: Mon, 20 May 2019 08:29:27 +0000 Subject: [PATCH 1/3] Fix formatting issue --- doc/self-hosted/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/self-hosted/index.md b/doc/self-hosted/index.md index 008aac3b..c00b57ba 100644 --- a/doc/self-hosted/index.md +++ b/doc/self-hosted/index.md @@ -43,7 +43,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. From e2eaa0aa4eb5ee4afe9634a54f2170ca3719bb8d Mon Sep 17 00:00:00 2001 From: Sebastian Duda <32878822+8sd@users.noreply.github.com> Date: Tue, 28 May 2019 07:10:20 +0000 Subject: [PATCH 2/3] Align intend of description Co-Authored-By: Sergio Moura --- doc/self-hosted/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/self-hosted/index.md b/doc/self-hosted/index.md index c00b57ba..1c40de99 100644 --- a/doc/self-hosted/index.md +++ b/doc/self-hosted/index.md @@ -43,7 +43,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. From d950e3c9dea23ece704fc7f63b2f0a2b2032f047 Mon Sep 17 00:00:00 2001 From: Sebastian Duda Date: Tue, 28 May 2019 09:12:45 +0200 Subject: [PATCH 3/3] Fix missing comma in cli-help --- packages/server/src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/cli.ts b/packages/server/src/cli.ts index 629a961d..89ad7f46 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)