Mercurial > hg > octave-lyh > gnulib-hg
changeset 8765:e4e0a935f437
(usage-indent test): Fix output
(func_compare): Restore diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> |
---|---|
date | Mon, 30 Apr 2007 08:26:11 +0000 |
parents | b675774a0b22 |
children | 27923c808d14 |
files | tests/test-argp-2.sh |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-argp-2.sh +++ b/tests/test-argp-2.sh @@ -26,7 +26,7 @@ # If argp was compiled without base_name, it will display full program name sed '1{ s,: [^ ]*/test-argp,: test-argp, - }' | diff -pu $TMP - + }' | diff -c $TMP - } #### @@ -44,9 +44,9 @@ # Test working usage-indent format cat > $TMP <<EOT -Usage: test-argp [-tvO?V] [-f FILE] [-o[ARG]] [--test] [--file=FILE] -[--input=FILE] [--verbose] [--option] [--optional[=ARG]] [--help] [--usage] -[--version] ARGS... +Usage: test-argp [-tvCSOlp?V] [-f FILE] [-o[ARG]] [--test] [--file=FILE] +[--input=FILE] [--verbose] [--cantiga] [--sonet] [--option] [--optional[=ARG]] +[--limerick] [--poem] [--help] [--usage] [--version] ARGS... EOT ARGP_HELP_FMT='usage-indent=0' ./test-argp --usage | func_compare || ERR=1