From 6089e76812d36a94315ac1adeb4f72cfb0e95abe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 8 May 2007 01:25:23 +0000 Subject: [PATCH] new command last-version: print last version of the log. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20594 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/kadm5/iprop-commands.in | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/lib/kadm5/iprop-commands.in b/lib/kadm5/iprop-commands.in index ba380bd5d..44ad62b76 100644 --- a/lib/kadm5/iprop-commands.in +++ b/lib/kadm5/iprop-commands.in @@ -101,6 +101,25 @@ command = { help = "Replay the log on the database." max_args = "0" } +command = { + name = "last-version" + option = { + long = "config-file" + short = "c" + type = "string" + help = "configuration file" + argument = "file" + } + option = { + long = "realm" + short = "r" + type = "string" + help = "realm" + } + function = "last_version" + help = "Print the last version of the log-file." + max_args = "0" +} command = { name = "help" argument = "command"