summaryrefslogtreecommitdiff
path: root/src/wc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wc.c')
-rw-r--r--src/wc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wc.c b/src/wc.c
index f2d791824..5bb4f2405 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -49,10 +49,10 @@ static int exit_status;
static struct option const longopts[] =
{
- {"bytes", 0, NULL, 'c'},
- {"chars", 0, NULL, 'c'},
- {"lines", 0, NULL, 'l'},
- {"words", 0, NULL, 'w'},
+ {"bytes", no_argument, NULL, 'c'},
+ {"chars", no_argument, NULL, 'c'},
+ {"lines", no_argument, NULL, 'l'},
+ {"words", no_argument, NULL, 'w'},
{NULL, 0, NULL, 0}
};