Skip to content

Commit

Permalink
Fix the CLI help output about the --config option (#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya authored Aug 3, 2021
1 parent f6490b3 commit 0e5615e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dfmt/main.d
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 0e5615e

Please sign in to comment.