]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(long_options): Use NULL, not `0'.
authorJim Meyering <jim@meyering.net>
Mon, 28 Mar 2005 18:10:49 +0000 (18:10 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 28 Mar 2005 18:10:49 +0000 (18:10 +0000)
src/stat.c

index a3cc0945e1f6ccd3fc4fd8ef0194e2ada436940a..45b504ef049719548ff402b95094cead7a1c0d1c 100644 (file)
 #define AUTHORS "Michael Meskes"
 
 static struct option const long_options[] = {
-  {"link", no_argument, 0, 'l'}, /* deprecated.  FIXME: remove in 2003 */
-  {"dereference", no_argument, 0, 'L'},
-  {"file-system", no_argument, 0, 'f'},
-  {"filesystem", no_argument, 0, 'f'}, /* obsolete and undocumented alias */
-  {"format", required_argument, 0, 'c'},
-  {"terse", no_argument, 0, 't'},
+  {"link", no_argument, NULL, 'l'}, /* deprecated.  FIXME: remove in 2003 */
+  {"dereference", no_argument, NULL, 'L'},
+  {"file-system", no_argument, NULL, 'f'},
+  {"filesystem", no_argument, NULL, 'f'}, /* obsolete and undocumented alias */
+  {"format", required_argument, NULL, 'c'},
+  {"terse", no_argument, NULL, 't'},
   {GETOPT_HELP_OPTION_DECL},
   {GETOPT_VERSION_OPTION_DECL},
   {NULL, 0, NULL, 0}