summaryrefslogtreecommitdiff
path: root/usr.bin/diff/diff.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2020-02-14 19:32:58 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-02-14 19:32:58 +0000
commit74dc6beb30dcb5c57134d6b66e14937b42f911c0 (patch)
tree8d43c0abbaf8342857f972872c1f118298e3609e /usr.bin/diff/diff.c
parentbc7d20c424ee40e2572225615a92e0054b1dda6e (diff)
parent6ed30ea4c0fcb366adedaee7f3c55620cd095c68 (diff)
Notes
Diffstat (limited to 'usr.bin/diff/diff.c')
-rw-r--r--usr.bin/diff/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c
index e2e65e520cb5..a4e86b7855a8 100644
--- a/usr.bin/diff/diff.c
+++ b/usr.bin/diff/diff.c
@@ -93,7 +93,7 @@ static struct option longopts[] = {
{ "no-ignore-file-name-case", no_argument, NULL, OPT_NO_IGN_FN_CASE },
{ "normal", no_argument, NULL, OPT_NORMAL },
{ "strip-trailing-cr", no_argument, NULL, OPT_STRIPCR },
- { "tabsize", optional_argument, NULL, OPT_TSIZE },
+ { "tabsize", required_argument, NULL, OPT_TSIZE },
{ "changed-group-format", required_argument, NULL, OPT_CHANGED_GROUP_FORMAT},
{ "suppress-common-lines", no_argument, NULL, OPT_SUPPRESS_COMMON },
{ NULL, 0, 0, '\0'}