Mercurial > gnulib
diff lib/long-options.c @ 5813:6962b5c5069f
Merge from coreutils.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Mon, 02 May 2005 07:00:50 +0000 |
parents | 0ffd1692e066 |
children | a48fb0e98c8c |
line wrap: on
line diff
--- a/lib/long-options.c Mon May 02 05:29:35 2005 +0000 +++ b/lib/long-options.c Mon May 02 07:00:50 2005 +0000 @@ -1,6 +1,6 @@ /* Utility to accept --help and --version options as unobtrusively as possible. - Copyright (C) 1993, 1994, 1998, 1999, 2000, 2002, 2003, 2004 Free + Copyright (C) 1993, 1994, 1998, 1999, 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -35,9 +35,9 @@ static struct option const long_options[] = { - {"help", no_argument, 0, 'h'}, - {"version", no_argument, 0, 'v'}, - {0, 0, 0, 0} + {"help", no_argument, NULL, 'h'}, + {"version", no_argument, NULL, 'v'}, + {NULL, 0, NULL, 0} }; /* Process long options --help and --version, but only if argc == 2.