aboutsummaryrefslogtreecommitdiff
path: root/test/001-error-no-args.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/001-error-no-args.test')
-rwxr-xr-xtest/001-error-no-args.test/run.sh2
-rw-r--r--test/001-error-no-args.test/stderr.expected8
2 files changed, 6 insertions, 4 deletions
diff --git a/test/001-error-no-args.test/run.sh b/test/001-error-no-args.test/run.sh
index 4e67e1d..fae5bd4 100755
--- a/test/001-error-no-args.test/run.sh
+++ b/test/001-error-no-args.test/run.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-${EXECUTABLE}
+${EXECUTABLE} -A
if [ $? -eq 0 ]; then
exit 1
else
diff --git a/test/001-error-no-args.test/stderr.expected b/test/001-error-no-args.test/stderr.expected
index 598c00c..b109898 100644
--- a/test/001-error-no-args.test/stderr.expected
+++ b/test/001-error-no-args.test/stderr.expected
@@ -1,4 +1,6 @@
usage: ../../sand-leek [-t threads] [-A] -s search
-searches for keys for onion addresses beginning with `search`.
-Specifying -A disables the use of ANSI escape sequences, which cause
-are not interpreted on some terminals (powershell, cmd.exe)
+Options:
+ -t threads use `threads` worker threads (default: 1)
+ -A disable ANSI escape sequences in stderr output
+ -s search search for keys to onion addresses beginning with `search`
+