From 8f986fb64c3ab21589a89ff7eef980134f463fa1 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Tue, 3 Aug 2021 15:18:02 -0500 Subject: [PATCH] fix the help for the config option --- 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 e4ee702..e86456d 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: