diff options
author | Jim Meyering <jim@meyering.net> | 2005-03-28 18:01:04 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-03-28 18:01:04 +0000 |
commit | 94064e84362b255a0d59101390fc5d481e52bb4f (patch) | |
tree | 2cce36db1565bcc58cc9d111fba6eae889b5b2c6 /src | |
parent | 2d5fa94300f8d45c0e599e2345c0a7f9786e612c (diff) | |
download | coreutils-94064e84362b255a0d59101390fc5d481e52bb4f.tar.xz |
(longopts): Use NULL, not `0'.
Diffstat (limited to 'src')
-rw-r--r-- | src/cut.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 |