cli: fix wrong argument being sent to doom-upgrade
In 84837fa0d
, a new argument was added before the timeout arg which
broken this flag.
This commit is contained in:
parent
30f15189e4
commit
85ea924595
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ following shell commands:
|
||||||
(member "--force" args)))
|
(member "--force" args)))
|
||||||
(doom-packages-update
|
(doom-packages-update
|
||||||
doom-auto-accept
|
doom-auto-accept
|
||||||
|
(when-let (threads (cadr (member "--threads" args)))
|
||||||
|
(string-to-number threads))
|
||||||
(when-let (timeout (cadr (or (member "--timeout" args)
|
(when-let (timeout (cadr (or (member "--timeout" args)
|
||||||
(member "-t" args))))
|
(member "-t" args))))
|
||||||
(string-to-number timeout)))
|
(string-to-number timeout)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue