mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] manpage generation
This commit is contained in:
parent
f288651094
commit
6ecb6c5ae1
2 changed files with 2 additions and 2 deletions
|
@ -403,7 +403,7 @@ user:
|
||||||
help: The key to be added
|
help: The key to be added
|
||||||
-c:
|
-c:
|
||||||
full: --comment
|
full: --comment
|
||||||
help: Optionnal comment about the key
|
help: Optional comment about the key
|
||||||
|
|
||||||
### user_ssh_keys_remove()
|
### user_ssh_keys_remove()
|
||||||
remove-key:
|
remove-key:
|
||||||
|
|
|
@ -93,7 +93,7 @@ usage: yunohost {{ name }} {{ '{' }}{{ ",".join(value["actions"].keys()) }}{{ '}
|
||||||
{# each subcategory #}
|
{# each subcategory #}
|
||||||
{% for subcategory_name, subcategory in value.get("subcategories", {}).items() %}
|
{% for subcategory_name, subcategory in value.get("subcategories", {}).items() %}
|
||||||
{% for action, action_value in subcategory["actions"].items() %}
|
{% for action, action_value in subcategory["actions"].items() %}
|
||||||
.SS "yunohost {{ subcategory_name }} {{ name }} {{ action }} \
|
.SS "yunohost {{ name }} {{ subcategory_name }} {{ action }} \
|
||||||
{% for argument_name, argument_value in action_value.get("arguments", {}).items() %}\
|
{% for argument_name, argument_value in action_value.get("arguments", {}).items() %}\
|
||||||
{% set required=(not str(argument_name).startswith("-")) or argument_value.get("extra", {}).get("required", False) %}\
|
{% set required=(not str(argument_name).startswith("-")) or argument_value.get("extra", {}).get("required", False) %}\
|
||||||
{% if not required %}[{% endif %}\
|
{% if not required %}[{% endif %}\
|
||||||
|
|
Loading…
Add table
Reference in a new issue