summaryrefslogtreecommitdiff
path: root/src/fold.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fold.c')
-rw-r--r--src/fold.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fold.c b/src/fold.c
index 4cd0a2c6b..3cd471596 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -48,9 +48,9 @@ char *program_name;
static struct option const longopts[] =
{
- {"bytes", 0, NULL, 'b'},
- {"spaces", 0, NULL, 's'},
- {"width", 1, NULL, 'w'},
+ {"bytes", no_argument, NULL, 'b'},
+ {"spaces", no_argument, NULL, 's'},
+ {"width", required_argument, NULL, 'w'},
{NULL, 0, NULL, 0}
};