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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user