Move truncate_log and replay_log into iprop-log.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15974 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-08-24 18:09:08 +00:00
parent afbd69ded6
commit 696fa86fa0
3 changed files with 177 additions and 39 deletions

View File

@@ -51,6 +51,56 @@ command = {
help = "Prints the iprop transaction log in text."
max_args = "0"
}
command = {
name = "truncate"
option = {
long = "config-file"
short = "c"
type = "string"
help = "configuration file"
argument = "file"
}
option = {
long = "realm"
short = "r"
type = "string"
help = "realm"
}
function = "iprop_truncate"
help = "Truncate the log, preserve the version number."
max_args = "0"
}
command = {
name = "replay"
option = {
long = "start-version"
type = "integer"
help = "start replay with this version"
argument = "version-number"
}
option = {
long = "end-version"
type = "integer"
help = "end replay with this version"
argument = "version-number"
}
option = {
long = "config-file"
short = "c"
type = "string"
help = "configuration file"
argument = "file"
}
option = {
long = "realm"
short = "r"
type = "string"
help = "realm"
}
function = "iprop_replay"
help = "Replay the log on the database."
max_args = "0"
}
command = {
name = "help"
argument = "command"