empserver/info/test.t
Markus Armbruster 4ea4a01fd5 (info, html): Implement.
(all): Depend on info.

Flatten info directory.  This undoes the move to one subdirectory per
chapter, which was done during Empire 2.  The structure doesn't buy us
much, as the info name space is flat, and it complicates makefiles.

Overhaul info.pl:
- It now wants to run in the root of the build tree.
- Information on source files and subjects is now stored in makefiles,
  thus info.pl no longer picks up random junk from the file system.
- Clean up Perl anachronisms, in particular use subroutine arguments and
  results rather than global variables where convenient.
- Change format of diagnostics to the common format used by GNU tools,
  so that Emacs and the like can parse it.
- Catch missing .SA.
- When creating a new subject file, cowardly refuse to overwrite an
  existing file.
- Subject files contain topics sorted by chapter, then by name.  The
  order of chapters used to depend on how Perl sorts hash keys.  Fix
  it.
2005-12-22 10:09:17 +00:00

23 lines
839 B
Perl

.TH Command TEST
.NA test "Check the effect of a proposed move"
.LV Expert
.SY "test <ITEM> <SECT> <NUMBER> <ROUTE|DESTINATION>"
The test command lets you check the effect of a proposed move.
This can be helpful when you're not sure whether you have enough
mobility to reach a certain location or you wish to compare two
possible routes for a move.
.s1
The test command has exactly the same arguments as the move command
and acts almost the same.
There are two important differences:
.in +0.3i
.s1
Nothing is actually moved and no mobility is used.
.s1
The move is tested for <NUMBER> <ITEM> irrespective of how much
<ITEM> is actually in the sector. This is useful for testing a sector
which will be used as a temporary stopover in a multi-step move to
make sure the stuff won't get stranded there.
.in -0.3i
.s1
.SA "move, Commodities"