File: test-cli-no-args.exp2

package info (click to toggle)
esh 0.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 316 kB
  • sloc: sh: 431; makefile: 55
file content (39 lines) | stat: -rw-r--r-- 1,394 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
esh: missing argument <input>

USAGE:
  esh [options] [--] <input> [<variable>...]
  esh <-h | -V>

Process and evaluate an ESH template.

ARGUMENTS:
  <input>        Path of the template file or "-" to read from STDIN.
  <variable>     Variable(s) specified as <name>=<value> to pass into the
                 template (the have higher priority than environment
                 variables).

OPTIONS:
  -d             Don't evaluate template, just dump a shell script.
  -o <file>      Output file or "-" for STDOUT. Defaults to "-".
  -s <shell>     Command name or path of the shell to use for template
                 evaluation. It must not contain spaces.
                 Defaults to "/bin/sh".
  -h             Show this help message and exit.
  -V             Print version and exit.

ENVIRONMENT:
  ESH_AWK        Command name of path of the awk program to use.
                 It must not contain spaces. Defaults to "awk".
  ESH_MAX_DEPTH  Maximum include depth. Defaults to 3.
  ESH_SHELL      Same as -s.

EXIT STATUS:
   0             Clean exit, no error has encountered.
   1             Generic error.
  10             Invalid usage.
  11             ESH syntax error.
  12             Include error: file not found.
  13             Include error: exceeded max include depth (ESH_MAX_DEPTH).

Please report bugs at <https://github.com/jirutka/esh/issues>.
%exit-status: 10