Function: pcomplete/journalctl

pcomplete/journalctl is an autoloaded and byte-compiled function defined in pcmpl-linux.el.gz.

Signature

(pcomplete/journalctl)

Documentation

Completion for the journalctl command.

Source Code

;; Defined in /usr/src/emacs/lisp/pcmpl-linux.el.gz
;;;###autoload
(defun pcomplete/journalctl ()
  "Completion for the `journalctl' command."
  (while (if (string-prefix-p "-" (pcomplete-arg 0))
             (pcomplete-here (pcomplete-from-help "journalctl --help"
                                                  :metavar "[^ ]+"
                                                  :separator " \\(\\)-"))
           (pcomplete-here (mapcar (lambda (s) (concat s "="))
                                   (process-lines "journalctl" "--fields"))))))