summaryrefslogtreecommitdiff
path: root/max-client.py
diff options
context:
space:
mode:
Diffstat (limited to 'max-client.py')
-rwxr-xr-xmax-client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/max-client.py b/max-client.py
index 818647e..d78db1a 100755
--- a/max-client.py
+++ b/max-client.py
@@ -100,6 +100,7 @@ if __name__ == "__main__":
metavar="OP",
type=str,
choices=("max", "min"),
+ default="max",
help="what operation to compute on the numbers? max or min",
)
parser.add_argument(
@@ -111,6 +112,6 @@ if __name__ == "__main__":
)
args = parser.parse_args()
- client = Client(args.address, log=True)
+ client = Client(args.address, log=False)
answer = client.compute(args.numbers, op=args.compute)
print(answer)