summaryrefslogtreecommitdiff
path: root/app/flatpak-builtins.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-09-21 19:58:28 -0400
committerAlexander Larsson <alexander.larsson@gmail.com>2018-10-11 14:51:51 +0200
commitafc87ad1e5d22040304d5dc9608362927936dfec (patch)
treeb6f032cbcaa204d16a7e522af85edce51c813269 /app/flatpak-builtins.h
parentc672c55154556b96275cad9c6036acac70323139 (diff)
downloadflatpak-afc87ad1e5d22040304d5dc9608362927936dfec.tar.gz
Add a history command
The history command pulls the transaction log entries out of the journal, and presents them nicely. We use the sd-journal api for this, so we need to link against libsystemd now, but we make the dependency optional. If libsystemd is not available, the history command will simply print an error.
Diffstat (limited to 'app/flatpak-builtins.h')
-rw-r--r--app/flatpak-builtins.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/flatpak-builtins.h b/app/flatpak-builtins.h
index 7c81474f..e264dcaf 100644
--- a/app/flatpak-builtins.h
+++ b/app/flatpak-builtins.h
@@ -99,6 +99,7 @@ BUILTINPROTO (search)
BUILTINPROTO (repair)
BUILTINPROTO (create_usb)
BUILTINPROTO (kill)
+BUILTINPROTO (history)
#undef BUILTINPROTO