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
Fixed dispense give erroring on 3 arguments (and succeeding on 2)
[tpg/opendispense2.git]
/
src
/
client
/
main.c
diff --git
a/src/client/main.c
b/src/client/main.c
index
4d33de1
..
88e82a8
100644
(file)
--- a/
src/client/main.c
+++ b/
src/client/main.c
@@
-262,7
+262,7
@@
int main(int argc, char *argv[])
// - "Here, have some money."
if( strcmp(text_args[0], "give") == 0 )
{
- if( text_argc !=
3
) {
+ if( text_argc !=
4
) {
fprintf(stderr, "`dispense give` takes three arguments\n");
ShowUsage();
return -1;
UCC
git Repository :: git.ucc.asn.au