empserver/man/empdump.6
Markus Armbruster 4525ae2d17 Change empdump syntax
Require -i for import, and fail when no action is requested.  Also
rename option -t to -n.
2008-03-17 19:54:08 +01:00

54 lines
1.2 KiB
Groff

.TH EMPDUMP 6
.SH NAME
empdump \- Export/import Empire game state
.SH SYNOPSIS
.B empdump
[
.B \-mnxhv
]
[
.BI \-e " configfile"
]
[
.BI \-i " dump-file"
]
.br
.SH DESCRIPTION
.B empdump
exports and imports game state as plain text.
.SH OPTIONS
.TP
.BI \-e " configfile"
Use game configuration in \fIconfigfile\fR.
.TP
.B \-h
Help. Print brief usage information and exit.
.TP
.BI \-i " dump-file"
Import from \fIdump-file\fR.
.TP
.B \-m
Use machine-readable format for export. Import always recognizes both
machine-readable and human-readable format.
.TP
.B \-n
Dry run, don't actually update game state on import.
.TP
.B \-v
Print version information and exit.
.TP
.B \-x
Export game state to standard output.
.SH "LIMITATIONS"
.B empdump
can't export player bmaps, power report, telegrams, announcements,
message of the day, no-login message and log files. Exported
floating-point values may be inexact. Importing an exported game
state may not result in identical data files; besides the loss of
floating-point precision just mentioned, coordinates are normalized,
and characters beyond a string's terminating zero in a character array
are lost.
.SH "SEE ALSO"
\fIemp_server\fR(6).
.SH AUTHOR
Markus Armbruster <armbru@pond.sub.org>