-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--channels: Allow dash in name when renaming channels.
Arguments to the "--channels" option are checked for the range separator (a dash) first before handling a possible rename. This makes it impossible to rename a channel to anything that includes a dash. So instead check for a rename (equals character) first and handle a possible range later. It makes no sense to rename a range of channels so report an error if there is a dash character in the part preceding the equals sign, except if a channel with this exact name exists.
- Loading branch information
Showing
1 changed file
with
38 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters