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"