Skip to content

Commit

Permalink
Keep descriptions of builtin args
Browse files Browse the repository at this point in the history
when overridden in custom map `args`
  • Loading branch information
zstadler authored Dec 25, 2024
1 parent 4c2e187 commit 8172279
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static Contexts.Root buildRootContext(Arguments origArguments, Map<String
}
} else {
defaultValueObject = value;
description = "no description provided";
description = builtin ? root.builtInArgs.getString(key, description, null) : "no description provided";
}
argDescriptions.put(key, description);
Try<Object> defaultValue = ConfigExpressionParser.tryStaticEvaluate(root, defaultValueObject, Object.class);
Expand Down

0 comments on commit 8172279

Please sign in to comment.