Disable 'doom refresh'

That 'doom refresh' and 'doom sync' do the same thing has been a point
of confusion for a while. By phasing out 'doom refresh' we can finally
put that to rest.
This commit is contained in:
Henrik Lissner 2020-05-25 16:23:17 -04:00
parent 3c24f15450
commit 8c37928de2
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -351,7 +351,12 @@ everywhere we use it (and internally)."
(load! "cli/help")
(load! "cli/install")
(defcli! (sync s refresh re)
(defcli! (refresh re) ()
"Deprecated for 'doom sync'"
:hidden t
(user-error "'doom refresh' has been replaced with 'doom sync'. Use that instead"))
(defcli! (sync s)
((inhibit-envvar-p ["-e"] "Don't regenerate the envvar file")
(inhibit-elc-p ["-c"] "Don't recompile config")
(update-p ["-u"] "...")