Ticket #27097 (new defect)
program suggests running 'port xxx' from within the 'port' interactive shell
|Reported by:||gba@…||Owned by:||macports-tickets@…|
- Install MacPorts 1.9.1
- Open the interactive 'port' shell by calling running 'port' from the Terminal.
- From the 'port' interactive shell run 'selfupdate'.
- 'selfupdate' should recommend the user run 'upgrade outdated'.
- 'selfupdate' recommends the user run 'port upgrade outdated'.
[Users/gba] > selfupdate ---> Updating the ports tree ---> Updating MacPorts base sources using rsync MacPorts base version 1.9.1 installed, MacPorts base version 1.9.1 downloaded. ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated [Users/gba] > port upgrade outdated Unrecognized action "port"
While not entirely the end of the world, even a non-naive person like myself copy and pasted 'port upgrade outdated' verbatim back into the interactive shell. While I realize the expected behavior is to eliminate 'port' at the beginning of the command when running from within the interactive shell, perhaps the shell itself could interpret this and not prepend recommended commands with 'port'?