aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2017-09-15 00:36:13 -0600
committerAssaf Gordon <assafgordon@gmail.com>2017-09-19 23:51:54 -0600
commit454d7f31c5ae1666617fd15c56f919c9b3f585ca (patch)
tree262232f725136c99ff5584dbee797aad038215f9 /scripts/git-hooks/commit-msg
parentmaint: fix new syntax-check failures from HTTPS adjustments (diff)
downloadcoreutils-454d7f31c5ae1666617fd15c56f919c9b3f585ca.tar.gz
coreutils-454d7f31c5ae1666617fd15c56f919c9b3f585ca.zip
expr: add detailed syntax error messages
Show offending argument instead of a generic 'syntax error' message. Suggested by Bernhard Voelker in https://bugs.gnu.org/28461#13 . * src/expr.c (syntax_error): Remove. (required_more_args): New function. (eval7, main): Replace syntax_error call with detailed die message. * tests/misc/expr.pl: Add tests for new messages.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions