summaryrefslogtreecommitdiff
path: root/src/join.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/join.c')
-rw-r--r--src/join.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/join.c b/src/join.c
index 6e593b628..2399ad4ac 100644
--- a/src/join.c
+++ b/src/join.c
@@ -561,9 +561,9 @@ add_field_list (str)
a character that is a short option. */
static struct option const longopts[] =
{
- {"j", 1, NULL, 'j'},
- {"j1", 1, NULL, '1'},
- {"j2", 1, NULL, '2'},
+ {"j", required_argument, NULL, 'j'},
+ {"j1", required_argument, NULL, '1'},
+ {"j2", required_argument, NULL, '2'},
{NULL, 0, NULL, 0}
};