git.ucc.asn.au
/
tpg
/
opendispense2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
All - Rework config API to allow default/optional values
[tpg/opendispense2.git]
/
docs
/
dispense.1
diff --git
a/docs/dispense.1
b/docs/dispense.1
index
7550509
..
18eead7
100644
(file)
--- a/
docs/dispense.1
+++ b/
docs/dispense.1
@@
-61,7
+61,9
@@
Open the UCC door.
.RI "acct " "user" " [+-]" "amount" " '" "reason" "'"
Alter a user's balance by
.I amount
.RI "acct " "user" " [+-]" "amount" " '" "reason" "'"
Alter a user's balance by
.I amount
-cents, leaving a reason for the coke logs.
+cents, leaving a reason for the coke logs. Implemented as a transfer of
+.I amount
+cents from '>additions' to the user.
.TP
.RI "refund " "user item_id" " [" "price" "]"
.TP
.RI "refund " "user item_id" " [" "price" "]"
@@
-78,6
+80,9
@@
Update a slot's contents (name and price).
.RI "acct " "user" " =" "amount" " '" reason "'"
Set a user's balance to a number of cents.
.RI "acct " "user" " =" "amount" " '" reason "'"
Set a user's balance to a number of cents.
+This function will use the '>countersum' account as the source/sink for money to make the users
+balance as requested
+
.TP
.RI "user add " "username"
Create a new account with the specified username.
.TP
.RI "user add " "username"
Create a new account with the specified username.
UCC
git Repository :: git.ucc.asn.au