mirror of
https://github.com/borgmatic-collective/borgmatic.git
synced 2026-07-22 02:03:01 +02:00
Fix missing argument descriptions (#303).
This commit is contained in:
@@ -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):
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user