commit bf90e85f185aec16b8373f9102c7bfcec68ffa02
parent b1fcce32e24b655b45c54c7d7ce8f8817946023f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 30 Mar 2015 21:49:33 +0200
col: dont allow col -l 0
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/col.c b/col.c
@@ -198,7 +198,7 @@ main(int argc, char *argv[])
halfline = 1;
break;
case 'l':
- pagesize = estrtonum(EARGF(usage()), 0, MIN(SIZE_MAX, LLONG_MAX));
+ pagesize = estrtonum(EARGF(usage()), 1, MIN(SIZE_MAX, LLONG_MAX));
break;
case 'p':
escape = 1;