From ad35da08f30e5968e5e9377729fe634efa3662f7 Mon Sep 17 00:00:00 2001 From: Robert Nishihara Date: Thu, 30 Jun 2016 13:26:06 -0700 Subject: [PATCH] fix (#188) --- scripts/shell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/shell.py b/scripts/shell.py index 0638ec88b..8efaccb9e 100644 --- a/scripts/shell.py +++ b/scripts/shell.py @@ -17,8 +17,8 @@ parser.add_argument("--scheduler-address", default="127.0.0.1:10001", type=str, parser.add_argument("--objstore-address", default="127.0.0.1:20001", type=str, help="the objstore's address") parser.add_argument("--worker-address", default="127.0.0.1:30001", type=str, help="the worker's address") parser.add_argument("--attach", action="store_true", help="If true, attach the shell to an already running cluster. If false, start a new cluster.") -parser.add_argument("--worker-path", help="Path to the worker script") -parser.add_argument("--num-workers", help="Number of workers to start") +parser.add_argument("--worker-path", type=str, help="Path to the worker script") +parser.add_argument("--num-workers", type=int, help="Number of workers to start") if __name__ == "__main__": args = parser.parse_args()