CommandLineUtils icon indicating copy to clipboard operation
CommandLineUtils copied to clipboard

Allow more than one short/long name for options

Open natemcmaster opened this issue 6 years ago • 1 comments

Is your feature request related to a problem? Please describe. I want to change dotnet-serve's --tls|-S flag to be --https|--tls|-S, and then just deprecate --tls or hide it from help text. I can't do this because CommandOption only supports having one long and one short option name.

Describe the solution you'd like Support more than one long and short name. This is helpful for tools that evolve their usage over time.

Additional context https://github.com/natemcmaster/dotnet-serve/blob/master/src/dotnet-serve/CommandLineOptions.cs#L80-L93

natemcmaster avatar Jan 05 '20 21:01 natemcmaster

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please comment if you believe this should remain open, otherwise it will be closed in 14 days. Thank you for your contributions to this project.

stale[bot] avatar Jul 21 '21 02:07 stale[bot]

This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please comment if you believe this should remain open, otherwise it will be closed in 14 days. Thank you for your contributions to this project.

github-actions[bot] avatar Nov 14 '22 02:11 github-actions[bot]

Closing due to inactivity. If you are looking at this issue in the future and think it should be reopened, please make a commented here and mention natemcmaster so he sees the notification.

github-actions[bot] avatar Nov 29 '22 02:11 github-actions[bot]