docs(cli): doom upgrade: s/-f/--force

Fix: #6712
This commit is contained in:
Ken Bolton 2022-09-30 16:59:37 -04:00 committed by GitHub
parent c82e7455bb
commit e9a1908e0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ following shell commands:
(user-error "%s\n\n%s\n\n %s"
(format "Refusing to upgrade because %S has been modified."
(abbreviate-file-name doom-emacs-dir))
"Either stash/undo your changes or run 'doom upgrade -f' to discard local changes."
"Either stash/undo your changes or run 'doom upgrade --force' to discard local changes."
(string-join dirty "\n"))
(print! (item "You have local modifications in Doom's source. Discarding them..."))
(sh! "git" "reset" "--hard" (format "origin/%s" branch))