mirror of
https://github.com/sbrow/envr.git
synced 2026-08-26 09:53:32 -04:00
fix: Flags in help text are now customized per command.
This commit is contained in:
+2
-1
@@ -110,7 +110,8 @@ test_command_help_init_no_aliases :: proc(t: ^testing.T) {
|
||||
testing.expect(t, !strings.contains(text, "Aliases:"), "init should not have Aliases section")
|
||||
testing.expect(t, strings.contains(text, "Flags:"), "missing Flags section")
|
||||
testing.expect(t, strings.contains(text, "show this documentation"), "missing help flag description")
|
||||
}
|
||||
testing.expect(t, strings.contains(text, "--force"), "missing --force flag")
|
||||
}
|
||||
|
||||
@(test)
|
||||
test_command_help_unknown :: proc(t: ^testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user