Browse Source

Update usage patterns

Alois Mahdal 6 years ago
parent
commit
5e3fe84272
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/jat.sh.skel

+ 2
- 1
src/jat.sh.skel View File

1139
     local patts=()
1139
     local patts=()
1140
     __jat__show_error "bad usage: $msg"
1140
     __jat__show_error "bad usage: $msg"
1141
     case $parent in
1141
     case $parent in
1142
-        jat__cmd)      patts=("[assert-options] [-e ES_EXPR] [--] CMD [ARG]..") ;;
1142
+        jat__cmd)      patts=("[assert-options] [-o R_OUT] [-e R_ERR] [-s R_ESF] [-S ES_EXPR] [--] CMD [ARG]..") ;;
1143
+        jat__eval)     patts=("[assert-options] [-s R_ESF] [-S ES_EXPR] [--] CODE") ;;
1143
         jat__cmp)      patts=("[assert-options] RVAL OP OVAL") ;;
1144
         jat__cmp)      patts=("[assert-options] RVAL OP OVAL") ;;
1144
         jat__fail)     patts=("[assert-options]") ;;
1145
         jat__fail)     patts=("[assert-options]") ;;
1145
         jat__pass)     patts=("[assert-options]") ;;
1146
         jat__pass)     patts=("[assert-options]") ;;