diff --git a/README.md b/README.md index 8f3701e..671a2ce 100644 --- a/README.md +++ b/README.md @@ -206,7 +206,7 @@ Usage of gherkingen [FEATURE_FILE]: print usage -language string Specifies the natural language used to describe the feature. - This flag is optional if language information is included in the feature file name. + This flag is optional if language information is included in the feature file name, or if the feature is written in English. The file name should be formatted as follows: ..feature if language hint is included, or .feature if it is not. When provided, the 'language' flag takes precedence over the language hint from the file name. (default "en") -languages diff --git a/internal/app/app.go b/internal/app/app.go index 5a13e84..2ed1606 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -78,7 +78,7 @@ func Run(arguments []string, out io.Writer, version string) (err error) { "language", defaultLanguage, "Specifies the natural language used to describe the feature.\n"+ - "This flag is optional if language information is included in the feature file name.\n"+ + "This flag is optional if language information is included in the feature file name, or if the feature is written in English.\n"+ "The file name should be formatted as follows: ..feature if language hint is included, "+ "or .feature if it is not.\n"+ "When provided, the 'language' flag takes precedence over the language hint from the file name.",