Add note on using commas in alias descriptions

On my installation, using commas in docstring descriptions causes a `error: unsupported operand type(s) for %: 'list' and 'dict'` error. Wrapping the description in a string solves that.
main
Dominik Stańczak 5 years ago committed by Fabien C. Y. Benureau
parent 1130a9343d
commit 5d6010394d
No known key found for this signature in database
GPG Key ID: C3FB5E831A249A9A

@ -99,6 +99,11 @@ active = force_list(default=list('alias'))
# command = !pubs list -k | wc -l # command = !pubs list -k | wc -l
# description = lists number of pubs in repo # description = lists number of pubs in repo
# To use commas in the description, wrap them in a "" string. For example:
# [[[hellocount]]]
# command = !pubs list -k | wc -l; echo "hello!"
# description = "lists number of pubs in repo, greets the user afterward"
[[git]] [[git]]
# The git plugin will commit changes to the repository in a git repository # The git plugin will commit changes to the repository in a git repository
# created at the root of the pubs directory. All detected changes will be # created at the root of the pubs directory. All detected changes will be

Loading…
Cancel
Save