On 2017/07/27 19:53, Denis Fondras wrote: > Thank you for your comment. > > > This will lead to usage and documentation issues (aside from your > > diff not including a manpage change): > > > > You are right, I missed the manpage bits. > > > With your diff, someone might write somewhere > > > > just type "route a default 192.0.2.1" to configure a default route. > > > > Next we add a new keyword "abc"... > > > > I took bgpctl as an example. If there is an ambiguity, route(8) will complain. > As stated in the man "Commands may be abbreviated to the minimum unambiguous > prefix". I guess the shortcuts are to be used only interactively. Using the > longer keyword in a script or in hostname.if is not an issue.
If people can use it on the command line, they'll copy and paste it into hostname.if files or other scripts too. Current ambiguities aren't the concern, possible future ambiguities are. +1 for a specific alias for "del" though.