diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cut.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -369,6 +369,9 @@ set_fields (const char *fieldstr) dash_found = true; fieldstr++; + if (lhs_specified && !value) + FATAL_ERROR (_("fields and positions are numbered from 1")); + initial = (lhs_specified ? value : 1); value = 0; } |