>From 48311c375e3532ffe167a3067aa7a60c962acec9 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 20 Dec 2015 13:32:44 +0100 Subject: [PATCH 4/4] datamash: improve an error message Signed-off-by: Benno Schulenberg --- src/op-parser.c | 2 +- src/op-scanner.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/op-parser.c b/src/op-parser.c index d9bb5bd..6c8d63e 100644 --- a/src/op-parser.c +++ b/src/op-parser.c @@ -707,7 +707,7 @@ datamash_ops_debug_print ( const struct datamash_ops* p ) int TESTMAIN (int argc, const char* argv[]) { if (argc<2) - error (EXIT_FAILURE, 0, _("missing script (as parameters")); + error (EXIT_FAILURE, 0, _("missing script (among arguments)")); struct datamash_ops *o = datamash_ops_parse (argc-1, argv+1); datamash_ops_debug_print ( o ); diff --git a/src/op-scanner.c b/src/op-scanner.c index f0a05f0..fdd9c25 100644 --- a/src/op-scanner.c +++ b/src/op-scanner.c @@ -207,7 +207,7 @@ scanner_get_token () int TESTMAIN (int argc, const char* argv[]) { if (argc<2) - error (EXIT_FAILURE, 0, _("missing script (as parameters)")); + error (EXIT_FAILURE, 0, _("missing script (among arguments)")); scanner_set_input_from_argv (argc-1, argv+1); -- 1.7.0.4