From ba75958a2f043f491ffc57673951bf71bc8b197a Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sun, 23 Mar 2025 11:26:49 -0700 Subject: [PATCH] Fix missing argument descriptions (#303). --- borgmatic/commands/arguments.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/borgmatic/commands/arguments.py b/borgmatic/commands/arguments.py index 2d285f50..289d163f 100644 --- a/borgmatic/commands/arguments.py +++ b/borgmatic/commands/arguments.py @@ -297,7 +297,6 @@ def make_argument_description(schema, flag_name): an example or additional information as appropriate based on its type. Return the updated description for use in a command-line argument. ''' - # FIXME: Argument descriptions are apparently broken right now. description = schema.get('description') schema_type = schema.get('type') @@ -317,6 +316,8 @@ def make_argument_description(schema, flag_name): description = description.replace('%', '%%') + return description + def add_array_element_arguments_from_schema(arguments_group, schema, unparsed_arguments, flag_name): '''