diff --git a/CHANGELOG.md b/CHANGELOG.md index 308a32a7d0..3229bbf4fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,10 +33,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed a bug where nullable wrapper schema flattening would ignore some composed type options. - Fixed a bug where arrays without items definition would derail generation. - Fixed a bug with enums detection for generation. (interpreted as string) -- Fixes a bug where classes names cleanup could end-up in a collision. -- Fixes a bug where null reference exception would be thrown when trying to lookup type inheritance on discriminators -- Fixes the lookup of model namespaces to only look in the target namespace to avoid reference collissions -- Fixes a bug for the generated send method for paths returning Enums in dotnet. +- Fixed a bug where classes names cleanup could end-up in a collision. +- Fixed a bug where null reference exception would be thrown when trying to lookup type inheritance on discriminators +- Fixed the lookup of model namespaces to only look in the target namespace to avoid reference collisions. +- Fixed a bug for the generated send method for paths returning Enums in dotnet. +- Breaking: renamed the --loglevel parameter to --log-level. ## [0.1.3] - 2022-05-06 diff --git a/docs/using.md b/docs/using.md index 3efe7364b6..dfdd89041b 100644 --- a/docs/using.md +++ b/docs/using.md @@ -17,7 +17,7 @@ kiota (--openapi | -d) [(--output | -o) ] [(--class-name | -c) ] [(--namespace-name | -n) ] - [(--loglevel | --ll) ] + [(--log-level | --ll) ] [--backing-store | -b] [(--serializer | -s) ] [(--deserializer | --ds) ] @@ -100,7 +100,7 @@ One or more module names that implements `IParseNodeFactory`. kiota --deserializer Contoso.Json.CustomDeserializer ``` -### `--loglevel (--ll)` +### `--log-level (--ll)` The log level to use when logging events to the main output. Defaults to `warning`. diff --git a/src/kiota/KiotaHost.cs b/src/kiota/KiotaHost.cs index 4d0792b9cd..5d5366a4b7 100644 --- a/src/kiota/KiotaHost.cs +++ b/src/kiota/KiotaHost.cs @@ -45,7 +45,7 @@ public RootCommand GetRootCommand() namespaceOption.ArgumentHelpName = "name"; AddStringRegexValidator(namespaceOption, @"^[\w][\w\._-]+", "namespace name"); - var logLevelOption = new Option("--loglevel", () => LogLevel.Warning, "The log level to use when logging messages to the main output."); + var logLevelOption = new Option("--log-level", () => LogLevel.Warning, "The log level to use when logging messages to the main output."); logLevelOption.AddAlias("--ll"); AddEnumValidator(logLevelOption, "log level");