summaryrefslogtreecommitdiff
path: root/src/cut.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cut.c')
-rw-r--r--src/cut.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cut.c b/src/cut.c
index f2b086b3c..ac3faa30a 100644
--- a/src/cut.c
+++ b/src/cut.c
@@ -165,16 +165,16 @@ enum
static struct option const longopts[] =
{
- {"bytes", required_argument, 0, 'b'},
- {"characters", required_argument, 0, 'c'},
- {"fields", required_argument, 0, 'f'},
- {"delimiter", required_argument, 0, 'd'},
- {"only-delimited", no_argument, 0, 's'},
- {"output-delimiter", required_argument, 0, OUTPUT_DELIMITER_OPTION},
- {"complement", no_argument, 0, COMPLEMENT_OPTION},
+ {"bytes", required_argument, NULL, 'b'},
+ {"characters", required_argument, NULL, 'c'},
+ {"fields", required_argument, NULL, 'f'},
+ {"delimiter", required_argument, NULL, 'd'},
+ {"only-delimited", no_argument, NULL, 's'},
+ {"output-delimiter", required_argument, NULL, OUTPUT_DELIMITER_OPTION},
+ {"complement", no_argument, NULL, COMPLEMENT_OPTION},
{GETOPT_HELP_OPTION_DECL},
{GETOPT_VERSION_OPTION_DECL},
- {0, 0, 0, 0}
+ {NULL, 0, NULL, 0}
};
void