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
This commit is contained in:
Love Hörnquist Åstrand
2007-05-08 01:25:23 +00:00
parent 25adcb8aae
commit 6089e76812

View File

@@ -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"