bin/doom: respond to -h/--help
In case people try that before `help`
This commit is contained in:
parent
c747bc46e3
commit
6fdd6cb14c
1 changed files with 2 additions and 0 deletions
2
bin/doom
2
bin/doom
|
@ -43,6 +43,8 @@
|
||||||
;; Parse options
|
;; Parse options
|
||||||
(while (ignore-errors (string-prefix-p "-" (car args)))
|
(while (ignore-errors (string-prefix-p "-" (car args)))
|
||||||
(pcase (pop args)
|
(pcase (pop args)
|
||||||
|
((or "-h" "--help")
|
||||||
|
(error "Did you mean 'doom help'?"))
|
||||||
((or "-d" "--debug")
|
((or "-d" "--debug")
|
||||||
(setq doom-debug-mode t))
|
(setq doom-debug-mode t))
|
||||||
((or "-p" "--private")
|
((or "-p" "--private")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue