diff --git a/.gitignore b/.gitignore index fec2672cba52504447d14c102487f0d881eb5f80..69b5969c973d3ec37335c7918ce91ee70a1820c7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ *.[od] +*.so *~ dispsrv +dispense diff --git a/docs/dispense.1 b/docs/dispense.1 index dffff1c28442f903830ec1239f167a916b85fbd2..25557fe5ecb80580fa7bf2c76f5e36260d430667 100644 --- a/docs/dispense.1 +++ b/docs/dispense.1 @@ -39,40 +39,40 @@ Use a non-interactive list instead of the ncurses interface. .SH SUB-COMMANDS .SS "All users" .TP -.RI "give " "user ammount reason" +.RI "give " "user amount reason" Give some money to another user (e.g. for pizza). .TP .RI "acct [" "user" "]" -List users (including balances and flags) +List users (including balances and flags). .SS "Door Members" .TP .RI "door" -Open the UCC door +Open the UCC door. .SS "Coke Controllers" .TP -.RI "acct " "user" " [+-]" "ammount" " '" "reason" "'" +.RI "acct " "user" " [+-]" "amount" " '" "reason" "'" Alter a user's balance by -.I ammount +.I amount cents, leaving a reason for the coke logs. .TP .RI "refund " "user item_id" " [" "price" "]" -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 +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. .TP .RI "slot " "item_id price name" -Update a slot's contents (name and price) +Update a slot's contents (name and price). .SS "Administrators" .TP -.RI "acct " "user" " =" "ammount" " '" 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. .TP .RI "user add " "username" @@ -81,7 +81,7 @@ Create a new account with the specified username. .TP .RI "user type " "username flags" 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