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.
This commit is contained in:
parent
1130a9343d
commit
5d6010394d
@ -99,6 +99,11 @@ active = force_list(default=list('alias'))
|
||||
# command = !pubs list -k | wc -l
|
||||
# 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]]
|
||||
# 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user