refactor(cli): rename 'doom purge' -> 'doom gc'

'doom purge' is now deprecated.

Also changes 'doom sync's -p option to --gc. Since GCing causes the loss
of historical data, I'd rather it be a long option to make it a little
harder to do accidentally.
This commit is contained in:
Henrik Lissner 2024-03-24 17:43:26 -04:00
parent cff091982e
commit 2591201aa1
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
3 changed files with 4 additions and 3 deletions

View file

@ -271,7 +271,7 @@ SEE ALSO:
(defcli-autoload! ((profiles profile)))
(defcli-autoload! ((upgrade up)))
(defcli-autoload! (env))
(defcli-autoload! ((build b purge p rollback)) "packages")
(defcli-autoload! ((build b purge p gc rollback)) "packages")
(defcli-autoload! ((install i)))
;; TODO Post-3.0 commands