Skip to content

Commit 5d98c51

Browse files
authored
cli: add missing dot in help message (#644)
The help text for `fmt` was previously missing a dot before `meta`: $ configlet --help | grep 'meta/' fmt Format the exercise 'meta/config.json' files --filepaths Populate empty 'files' values in Concept/Practice exercise '.meta/config.json' files --metadata Sync Practice Exercise '.meta/config.json' metadata values --tests [mode] Sync Practice Exercise '.meta/tests.toml' files.
1 parent 690e9e2 commit 5d98c51

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Usage:
1111
configlet [global-options] <command> [command-options]
1212
1313
Commands:
14-
fmt Format the exercise 'meta/config.json' files
14+
fmt Format the exercise '.meta/config.json' files
1515
generate Generate Concept Exercise 'introduction.md' files from 'introduction.md.tpl' files
1616
info Print some information about the track
1717
lint Check the track configuration for correctness

src/cli.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func genHelpText: string =
174174

175175
const actionDescriptions: array[ActionKind, string] = [
176176
actNil: "",
177-
actFmt: "Format the exercise 'meta/config.json' files",
177+
actFmt: "Format the exercise '.meta/config.json' files",
178178
actGenerate: "Generate Concept Exercise 'introduction.md' files from 'introduction.md.tpl' files",
179179
actInfo: "Print some information about the track",
180180
actLint: "Check the track configuration for correctness",

0 commit comments

Comments
 (0)