pub static SUBCATS: &[(&str, &str, &[&str])]Expand description
The categories a container’s subcommands hold on top of the container’s own.
A real server has a row a subcommand, so config|get is @admin @dangerous @slow while config itself is only @slow, and -@admin on a user takes
CONFIG GET away without touching CONFIG HELP. This table has one row a
container that has none, so it needs this on the side: a rule about a
category walks the commands for the ones it names outright and then walks
this for the subcommands, allowing or refusing them one first argument at a
time. It goes away with D-114, when the subcommands get rows of their own and
carry their own categories like everything else.
Every subcommand also holds every category its container holds, which was read off 8.10.1 rather than assumed, and is why a rule about the container’s own categories can still set one bit and be done.
The list is sorted by container and then by subcommand, and a subcommand with nothing to add is left out, which is why COMMAND has no rows at all.