|
ds@1952
|
1 |
Overrides |
|
ds@1952
|
2 |
{ |
|
ds@1952
|
3 |
/** |
|
ds@1952
|
4 |
* By default, commands are registered with three pieces of information: |
|
ds@1952
|
5 |
* 1)Command Name (for example, "csdm_enable") |
|
ds@1952
|
6 |
* 2)Command Group Name (for example, "CSDM") |
|
ds@1952
|
7 |
* 3)Command Level (for example, "changemap") |
|
ds@1952
|
8 |
* |
|
ds@1952
|
9 |
* You can override the default flags assigned to individual commands or command groups in this way. |
|
ds@1952
|
10 |
* To override a group, use the "@" character before the name. Example: |
|
ds@1952
|
11 |
* Examples: |
|
ds@1952
|
12 |
* "@CSDM" "b" // Override the CSDM group to 'b' flag |
|
ds@1952
|
13 |
* "csdm_enable" "bgi" // Override the csdm_enable command to 'bgi' flags |
|
ds@1952
|
14 |
* |
|
ds@1952
|
15 |
* Note that for overrides, order is important. In the above example, csdm_enable overwrites |
|
ds@1952
|
16 |
* any setting that csdm_enable previously had. |
|
ds@1952
|
17 |
* |
|
ds@1952
|
18 |
* You can make a command completely public by using an empty flag string. |
|
ds@1952
|
19 |
*/ |
|
ds@1952
|
20 |
} |
|
ds@1952
|
21 |
|