From a9cf8a940db7d42b9c8f5509c4c7e3fabfa5e3d6 Mon Sep 17 00:00:00 2001 From: Emil Koutanov Date: Sun, 19 Apr 2020 08:35:13 +1000 Subject: [PATCH] Wording --- README.md | 2 +- commander/commander.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0d731a7..5622b5b 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ - `Wait(t, timeout).UntilAsserted(assertion)`: time-based assertions - `TestCapture`: capture of `testing.T` failures (for self-testing of assertion libraries) - `Intercept(t).Mutate(...)`: enrichment of assertion failure messages -* `commander`: **schema-less command-line argument parsing** +* `commander`: **schemaless command-line argument parsing** - `Parse(os.Args).Mappify` * `fault`: **fault injection** * `arity`: **extraction of optional arguments to variadic functions** diff --git a/commander/commander.go b/commander/commander.go index 98544a0..2104a05 100644 --- a/commander/commander.go +++ b/commander/commander.go @@ -72,7 +72,7 @@ func (parts Parts) Mappify() PartsMap { return partsMap } -// Parse processes the given cmdArgs into a Parts slice. No error is returned as parsing is schema-less; the parser +// Parse processes the given cmdArgs into a Parts slice. No error is returned as parsing is schemaless; the parser // extracts all flags, switches and free-form values that may be present. func Parse(cmdArgs []string) Parts { len := len(cmdArgs)