Skip to content
Snippets Groups Projects
Commit dcf0829f authored by David Adam's avatar David Adam Committed by John Hodge
Browse files

Applied patches from DAA

- [PATCH 1/2] manpage: spell amount correctly
- [PATCH 2/2] manpage: tidy up trailing commas
- [PATCH 1/2] .gitignore - ignore compiled client binary
- [PATCH 2/2] .gitignore - ignore compiled shared libraries
parent bd4eed9e
No related merge requests found
*.[od] *.[od]
*.so
*~ *~
dispsrv dispsrv
dispense
...@@ -39,40 +39,40 @@ Use a non-interactive list instead of the ncurses interface. ...@@ -39,40 +39,40 @@ Use a non-interactive list instead of the ncurses interface.
.SH SUB-COMMANDS .SH SUB-COMMANDS
.SS "All users" .SS "All users"
.TP .TP
.RI "give " "user ammount reason" .RI "give " "user amount reason"
Give some money to another user (e.g. for pizza). Give some money to another user (e.g. for pizza).
.TP .TP
.RI "acct [" "user" "]" .RI "acct [" "user" "]"
List users (including balances and flags) List users (including balances and flags).
.SS "Door Members" .SS "Door Members"
.TP .TP
.RI "door" .RI "door"
Open the UCC door Open the UCC door.
.SS "Coke Controllers" .SS "Coke Controllers"
.TP .TP
.RI "acct " "user" " [+-]" "ammount" " '" "reason" "'" .RI "acct " "user" " [+-]" "amount" " '" "reason" "'"
Alter a user's balance by Alter a user's balance by
.I ammount .I amount
cents, leaving a reason for the coke logs. cents, leaving a reason for the coke logs.
.TP .TP
.RI "refund " "user item_id" " [" "price" "]" .RI "refund " "user item_id" " [" "price" "]"
Refund a bad dispense for a user (the item_id can be found in the coke log usually) Refund a bad dispense for a user (the item_id can be found in the coke log usually).
It is is of the form <type>:<slot>, for example coke:6 or snack:33 It is is of the form <type>:<slot>, for example coke:6 or snack:33.
.TP .TP
.RI "slot " "item_id price name" .RI "slot " "item_id price name"
Update a slot's contents (name and price) Update a slot's contents (name and price).
.SS "Administrators" .SS "Administrators"
.TP .TP
.RI "acct " "user" " =" "ammount" " '" reason "'" .RI "acct " "user" " =" "amount" " '" reason "'"
Set a user's balance to a number of cents Set a user's balance to a number of cents.
.TP .TP
.RI "user add " "username" .RI "user add " "username"
...@@ -81,7 +81,7 @@ Create a new account with the specified username. ...@@ -81,7 +81,7 @@ Create a new account with the specified username.
.TP .TP
.RI "user type " "username flags" .RI "user type " "username flags"
Alter the flags on a user. Valid flags are user, coke, admin, internal and disabled. Alter the flags on a user. Valid flags are user, coke, admin, internal and disabled.
Flags can be removed by prepending the flag with a '-' Flags can be removed by prepending the flag with a '-'.
.SH EXIT STATUS .SH EXIT STATUS
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment