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