From 0e5615e13ea33da9232d7b8605ce8f607bd9438f Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Tue, 3 Aug 2021 16:40:22 -0500 Subject: [PATCH] Fix the CLI help output about the `--config` option (#541) --- src/dfmt/main.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dfmt/main.d b/src/dfmt/main.d index e4ee7027..e86456d8 100644 --- a/src/dfmt/main.d +++ b/src/dfmt/main.d @@ -177,7 +177,7 @@ else if (!exists(explicitConfigDir) || !isDir(explicitConfigDir)) { - stderr.writeln("--config_dir|c must specify existing directory path"); + stderr.writeln("--config|c must specify existing directory path"); return 1; } explicitConfig = getConfigFor!Config(explicitConfigDir); @@ -306,7 +306,7 @@ https://github.com/dlang-community/dfmt Options: --help, -h Print this help message --inplace, -i Edit files in place - --config_dir, -c Path to directory to load .editorconfig file from. + --config, -c Path to directory to load .editorconfig file from. --version Print the version number and then exit Formatting Options: