-
Notifications
You must be signed in to change notification settings - Fork 299
Description
Channels can be either disabled, primary or secondary. Both deleting or disabling a channel lead to the same role entry. But the latter one keeps its settings for the case the channel is reenabled.
On the other hand, --info does not show any disabled channels. This might lead to the situation (especially during testing), that the system refuses adding a channel because there is still a disabled one with this name located anywhere in the list.
It seems, that disable/enable has now been replaced by add/delete, so these command options are not very consistent any more. However, I don't know if disable/enable is still used by someone.
At least I suggest these improvements:
- Clarify the role of an deleted/not present channel with "absent" instead of disabled.
- let
--infoshow disabled channels so we can get aware of them - let
deleteChanneloutput an additional message in case the channel to be deleted is absent. Deleting a channel then also will delete disabled channels.
The best would be to remove the enable/disable commands.
What do you think about it?