From: Jim Meyering Date: Tue, 19 Apr 1994 00:45:54 +0000 (+0000) Subject: . X-Git-Tag: textutils-1_12_1~719 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1e328029666c5018abcfc6eda679b9cb659fea7;p=platform%2Fupstream%2Fcoreutils.git . --- diff --git a/src/basename.c b/src/basename.c index 8f773e9..7a537b4 100644 --- a/src/basename.c +++ b/src/basename.c @@ -82,7 +82,7 @@ main (argc, argv) program_name = argv[0]; - parse_long_options (argc, argv, usage); + parse_long_options (argc, argv, "basename", usage); if (argc == 1 || argc > 3) usage (1); diff --git a/src/dirname.c b/src/dirname.c index 17beaba..5b25f2f 100644 --- a/src/dirname.c +++ b/src/dirname.c @@ -72,7 +72,7 @@ main (argc, argv) program_name = argv[0]; - parse_long_options (argc, argv, usage); + parse_long_options (argc, argv, "dirname", usage); if (argc != 2) usage (1); diff --git a/src/echo.c b/src/echo.c index 29f9dd5..6f3acb4 100644 --- a/src/echo.c +++ b/src/echo.c @@ -119,7 +119,7 @@ main (argc, argv) program_name = argv[0]; - parse_long_options (argc, argv, usage); + parse_long_options (argc, argv, "echo", usage); /* System V machines already have a /bin/sh with a v9 behaviour. We use the identical behaviour for these machines so that the diff --git a/src/expr.c b/src/expr.c index a3d42ff..d1b4ce6 100644 --- a/src/expr.c +++ b/src/expr.c @@ -178,7 +178,7 @@ main (argc, argv) program_name = argv[0]; - parse_long_options (argc, argv, usage); + parse_long_options (argc, argv, "expr", usage); if (argc == 1) usage (1); diff --git a/src/printf.c b/src/printf.c index a26ee9e..e341fb8 100644 --- a/src/printf.c +++ b/src/printf.c @@ -156,7 +156,7 @@ main (argc, argv) program_name = argv[0]; exit_status = 0; - parse_long_options (argc, argv, usage); + parse_long_options (argc, argv, "printf", usage); if (argc == 1) { diff --git a/src/stty.c b/src/stty.c index 3232a5b..5d8e864 100644 --- a/src/stty.c +++ b/src/stty.c @@ -639,7 +639,7 @@ main (argc, argv) program_name = argv[0]; - parse_long_options (argc, argv, usage); + parse_long_options (argc, argv, "stty", usage); output_type = changed; verbose_output = 0; diff --git a/src/test.c b/src/test.c index 65de254..6cf8565 100644 --- a/src/test.c +++ b/src/test.c @@ -1122,7 +1122,7 @@ test_command (margc, margv) if (margv[0] && strcmp (margv[0], "[") == 0) { - parse_long_options (margc, margv, usage); + parse_long_options (argc, argv, "test", usage); --margc; diff --git a/src/yes.c b/src/yes.c index 55d1300..6155d67 100644 --- a/src/yes.c +++ b/src/yes.c @@ -65,7 +65,7 @@ main (argc, argv) { program_name = argv[0]; - parse_long_options (argc, argv, usage); + parse_long_options (argc, argv, "yes", usage); if (argc == 1) while (1)