Function: transient--derive-shortarg
transient--derive-shortarg is a byte-compiled function defined in
transient.el.
Signature
(transient--derive-shortarg ARG)
Source Code
;; Defined in ~/.emacs.d/elpa/transient-20260414.1009/transient.el
(defun transient--derive-shortarg (arg)
(save-match-data
(and (string-match "\\`\\(-[a-zA-Z]\\)\\(\\'\\|=\\)" arg)
(match-string 1 arg))))