From 1ce8250029d9fb64ee0bab835e9a4186b170aa78 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Tue, 4 Dec 2018 19:17:10 +0100 Subject: [PATCH] set: Ignore set -o, set +o. --- gash/builtins.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gash/builtins.scm b/gash/builtins.scm index 48eabb4..0083da8 100644 --- a/gash/builtins.scm +++ b/gash/builtins.scm @@ -112,6 +112,8 @@ (("+u") (set-shell-opt! "nounset" #f)) (("-x") (set-shell-opt! "xtrace" #t)) (("+x") (set-shell-opt! "xtrace" #f)) + (("-o" option) (format (current-error-port) "warning: set: not supported: ~a\n" args)) + (("+o" option) (format (current-error-port) "warning: set: not supported: ~a\n" args)) (((and (? string?) arg)) (let* ((lst (string->string-list arg)) (set (car lst))) (when (not (member set '("-" "+")))