summaryrefslogtreecommitdiff
path: root/systemctl.vala
diff options
context:
space:
mode:
Diffstat (limited to 'systemctl.vala')
-rw-r--r--systemctl.vala4
1 files changed, 3 insertions, 1 deletions
diff --git a/systemctl.vala b/systemctl.vala
index 22a971cc82..6c01ad1263 100644
--- a/systemctl.vala
+++ b/systemctl.vala
@@ -222,7 +222,9 @@ int main (string[] args) {
MainLoop l = new MainLoop();
l.run();
- } else {
+ } else if (args[1] == "dump")
+ stdout.puts(manager.dump());
+ else {
stderr.printf("Unknown command %s.\n", args[1]);
return 1;
}