-l and --list is not handled in the code. Without options, switch-branch shows local and remote-tracking branches by default.
-l
--list
switch-branch
Metadata Update from @cqi: - Issue set to the milestone: 1.50
Don't remove -l and --list at current stage in order to not break anyone who uses them.
Metadata Update from @cqi: - Issue set to the milestone: None (was: 1.50)
Metadata Update from @cqi: - Issue close_status updated to: Invalid - Issue status updated to: Closed (was: Open)