summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-03-28 18:01:04 +0000
committerJim Meyering <jim@meyering.net>2005-03-28 18:01:04 +0000
commit94064e84362b255a0d59101390fc5d481e52bb4f (patch)
tree2cce36db1565bcc58cc9d111fba6eae889b5b2c6 /src
parent2d5fa94300f8d45c0e599e2345c0a7f9786e612c (diff)
downloadcoreutils-94064e84362b255a0d59101390fc5d481e52bb4f.tar.xz
(longopts): Use NULL, not `0'.
Diffstat (limited to 'src')
-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