Skip to content

Commit

Permalink
Add yes option
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Oct 1, 2023
1 parent 4334c0e commit 61c5716
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/content/zh-TW/Getting-Started/Commands-and-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -840,9 +840,9 @@ $ eask -f [COMMAND]

## 🔍 --strict

Trigger error instead of warnings.
觸發錯誤代替警告。

For instance, in **eask compile**:
例如,在 **eask compile** 中:

```elisp
(setq byte-compile-error-on-warn t)
Expand Down
6 changes: 3 additions & 3 deletions lisp/_prepare.el
Original file line number Diff line number Diff line change
Expand Up @@ -688,9 +688,6 @@ full detials."
(defun eask-strict-p ()
"Non-nil when flag is on (`--strict')."
(eask--flag "--strict"))
(defun eask-yes-p ()
"Non-nil when flag is on (`--yes')."
(eask--flag "--yes"))
(defun eask-timestamps-p ()
"Non-nil when flag is on (`--timestamps')."
(eask--flag "--timestamps"))
Expand Down Expand Up @@ -721,6 +718,9 @@ full detials."
(defun eask-number-p ()
"Non-nil when flag is on (`-n', `--number')."
(eask--flag "--number"))
(defun eask-yes-p ()
"Non-nil when flag is on (`--yes')."
(eask--flag "--yes"))

;;; String (with arguments)
(defun eask-output ()
Expand Down

0 comments on commit 61c5716

Please sign in to comment.