feat: sync-music: put backticks around filepaths in output
This commit is contained in:
parent
ef9d463f47
commit
fb98ca88c0
|
@ -19,11 +19,11 @@ Pushes status message about this action to QUEUE if given."))
|
|||
(:documentation "Status message, as printed during ACTION-PERFORM."))
|
||||
|
||||
(defmethod action-describe ((a copy-action) &optional s)
|
||||
(format s "[C] ~A -> ~A~%" (copy-action-origin a) (action-target a)))
|
||||
(format s "[C] `~A` -> `~A`~%" (copy-action-origin a) (action-target a)))
|
||||
(defmethod action-describe ((a delete-action) &optional s)
|
||||
(format s "[D] ~A~%" (action-target a)))
|
||||
(format s "[D] `~A`~%" (action-target a)))
|
||||
(defmethod action-describe ((a directory-action) &optional s)
|
||||
(format s "[M] ~A~%" (action-target a)))
|
||||
(format s "[M] `~A`~%" (action-target a)))
|
||||
|
||||
(defmethod action-perform ((a copy-action) &optional queue)
|
||||
(declare (ignore queue))
|
||||
|
@ -67,15 +67,15 @@ Pushes status message about this action to QUEUE if given."))
|
|||
(lparallel.queue:push-queue (action-perform-describe a) queue)))
|
||||
|
||||
(defmethod action-perform-describe ((a copy-action))
|
||||
(format nil "Copying ~A to ~A..." (copy-action-origin a) (action-target a)))
|
||||
(format nil "Copying `~A` to `~A`..." (copy-action-origin a) (action-target a)))
|
||||
(defmethod action-perform-describe ((a copy-meta-action))
|
||||
(format nil "Modifying ~A to ~A..." (copy-action-origin a) (action-target a)))
|
||||
(format nil "Modifying `~A` to `~A`..." (copy-action-origin a) (action-target a)))
|
||||
(defmethod action-perform-describe ((a copy-flac-action))
|
||||
(format nil "Converting ~A to ~A..." (copy-action-origin a) (action-target a)))
|
||||
(format nil "Converting `~A` to `~A`..." (copy-action-origin a) (action-target a)))
|
||||
(defmethod action-perform-describe ((a delete-action))
|
||||
(format nil "Deleting ~A..." (action-target a)))
|
||||
(format nil "Deleting `~A`..." (action-target a)))
|
||||
(defmethod action-perform-describe ((a directory-action))
|
||||
(format nil "Ensuring ~A exists..." (action-target a)))
|
||||
(format nil "Ensuring `~A` exists..." (action-target a)))
|
||||
|
||||
;; NOTE: delete actions are equal to copy actions to the same target
|
||||
(defmethod fset:compare ((a1 action) (a2 action))
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
((or (getf options :help) (/= free-argc 2))
|
||||
(opts:describe
|
||||
:prefix "Sync music files between directories, converting flac to opus."
|
||||
:suffix "ORIGIN is assumed to be ~/Music/ if not provided."
|
||||
:suffix "ORIGIN is assumed to be `~/Music/` if not provided."
|
||||
:usage-of "sync-music"
|
||||
:args "[ORIGIN] TARGET")
|
||||
(return-from main)))
|
||||
|
|
Loading…
Reference in a new issue