summaryrefslogtreecommitdiffstats
path: root/tests/expected/getopt/options-unknown_options
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/expected/getopt/options-unknown_options2
-rw-r--r--tests/expected/getopt/options-unknown_options.err2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/expected/getopt/options-unknown_options b/tests/expected/getopt/options-unknown_options
new file mode 100644
index 0000000..5538e16
--- /dev/null
+++ b/tests/expected/getopt/options-unknown_options
@@ -0,0 +1,2 @@
+ --long -a --
+exit value: 1
diff --git a/tests/expected/getopt/options-unknown_options.err b/tests/expected/getopt/options-unknown_options.err
new file mode 100644
index 0000000..f8f67fb
--- /dev/null
+++ b/tests/expected/getopt/options-unknown_options.err
@@ -0,0 +1,2 @@
+getopt: invalid option -- 'b'
+getopt: unrecognized option '--whatever'