summaryrefslogtreecommitdiff
path: root/src/tsort.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-11-17 00:56:25 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-11-17 00:56:25 +0000
commitd1bc398fa0cb7d53d42060149007d0255c5ae9cf (patch)
treefe12015c831e97619eab53dc97d76d7c528e64b6 /src/tsort.c
parent6fca9011e5eba920551de7e55426e18cb5f28d04 (diff)
downloadcoreutils-d1bc398fa0cb7d53d42060149007d0255c5ae9cf.tar.xz
(main): Use getopt_long rather than getopt.
Diffstat (limited to 'src/tsort.c')
-rw-r--r--src/tsort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tsort.c b/src/tsort.c
index 4439b86c9..f496d08ec 100644
--- a/src/tsort.c
+++ b/src/tsort.c
@@ -552,7 +552,7 @@ main (int argc, char **argv)
parse_long_options (argc, argv, PROGRAM_NAME, PACKAGE, VERSION,
usage, AUTHORS, (char const *) NULL);
- if (getopt (argc, argv, "") != -1)
+ if (getopt_long (argc, argv, "", NULL, NULL) != -1)
usage (EXIT_FAILURE);
have_read_stdin = false;