diff options
author | Justin Clark-Casey (justincc) | 2012-10-24 01:33:21 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-24 01:33:21 +0100 |
commit | 938fa96b9f5377ef330171232262b4d8aaca0918 (patch) | |
tree | ead5f8baa7ea38b3da3f18f4aa6aa2d5dc6a784d /OpenSim/Framework/Console | |
parent | Make it possible to turn the base UDP object packet pools on and off whilst r... (diff) | |
download | opensim-SC_OLD-938fa96b9f5377ef330171232262b4d8aaca0918.zip opensim-SC_OLD-938fa96b9f5377ef330171232262b4d8aaca0918.tar.gz opensim-SC_OLD-938fa96b9f5377ef330171232262b4d8aaca0918.tar.bz2 opensim-SC_OLD-938fa96b9f5377ef330171232262b4d8aaca0918.tar.xz |
minor: Move co-ordinate related help to object commands to common ConsoleUtil.CoordHelp
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r-- | OpenSim/Framework/Console/ConsoleUtil.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/ConsoleUtil.cs b/OpenSim/Framework/Console/ConsoleUtil.cs index a7cf0c0..027753d 100644 --- a/OpenSim/Framework/Console/ConsoleUtil.cs +++ b/OpenSim/Framework/Console/ConsoleUtil.cs | |||
@@ -36,6 +36,23 @@ public class ConsoleUtil | |||
36 | { | 36 | { |
37 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 37 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
38 | 38 | ||
39 | /// <summary> | ||
40 | /// Used by modules to display stock co-ordinate help, though possibly this should be under some general section | ||
41 | /// rather than in each help summary. | ||
42 | /// </summary> | ||
43 | public const string CoordHelp | ||
44 | = @"Each component of the coord is comma separated. There must be no spaces between the commas. | ||
45 | If you don't care about the z component you can simply omit it. | ||
46 | If you don't care about the x or y components then you can leave them blank (though a comma is still required) | ||
47 | If you want to specify the maxmimum value of a component then you can use ~ instead of a number | ||
48 | If you want to specify the minimum value of a component then you can use -~ instead of a number | ||
49 | e.g. | ||
50 | delete object pos 20,20,20 to 40,40,40 | ||
51 | delete object pos 20,20 to 40,40 | ||
52 | delete object pos ,20,20 to ,40,40 | ||
53 | delete object pos ,,30 to ,,~ | ||
54 | delete object pos ,,-~ to ,,30"; | ||
55 | |||
39 | public const string MinRawConsoleVectorValue = "-~"; | 56 | public const string MinRawConsoleVectorValue = "-~"; |
40 | public const string MaxRawConsoleVectorValue = "~"; | 57 | public const string MaxRawConsoleVectorValue = "~"; |
41 | 58 | ||