We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90522c5 commit 3d8a842Copy full SHA for 3d8a842
clikt/src/commonMain/kotlin/com/github/ajalt/clikt/core/Context.kt
@@ -372,7 +372,7 @@ class Context private constructor(
372
/**
373
* Localized strings to use for help output and error reporting.
374
*/
375
- var localization: Localization = defaultLocalization
+ var localization: Localization = parent?.localization ?: defaultLocalization
376
377
378
* A function called by Clikt to get a parameter value from a given environment variable
0 commit comments