col: dont allow col -l 0
This commit is contained in:
parent
b1fcce32e2
commit
bf90e85f18
2
col.c
2
col.c
@ -198,7 +198,7 @@ main(int argc, char *argv[])
|
|||||||
halfline = 1;
|
halfline = 1;
|
||||||
break;
|
break;
|
||||||
case 'l':
|
case 'l':
|
||||||
pagesize = estrtonum(EARGF(usage()), 0, MIN(SIZE_MAX, LLONG_MAX));
|
pagesize = estrtonum(EARGF(usage()), 1, MIN(SIZE_MAX, LLONG_MAX));
|
||||||
break;
|
break;
|
||||||
case 'p':
|
case 'p':
|
||||||
escape = 1;
|
escape = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user