Skip to content

shell: "select" command suddenly gone #10769

@pfalcon

Description

@pfalcon

Following up on the quick discussion on IRC.

So, a user which used both old and new shell would immediately notice the lack of "select" command in the new one. On IRC, I was told that it's not needed, and one can access all commands directly. I don't what was meant by that, but my interpretation is obvious - it would mean that knowing that there's "stats" command in "net" shell module, I can type "stats" and it would get executed.

Of course, it cannot work like that, because there could be "bt stats", etc. commands. So, I proceeded to check, and of course, "stats" doesn't work:

uart:~$ stats
stats: command not found

Instead, I need to type:

uart:~$ net stats 

Interface 0x00424a20 (Ethernet) [0]
===================================

Of course, it's alleviated by completion, but:

  1. Completion was there in the old shell too.
  2. It was possible to use "net stats" in the old shell too.
  3. But besides that, there was also "select <module>" command which allowed get rid of typing "net" altogether!

Of course, with possibility no.3 provided, users enjoyed it. And of course, they noticed the regression with the new shell, and submit tickets asking what's up.

Metadata

Metadata

Labels

RFCRequest For Comments: want input from the communityRelease NotesTo be mentioned in the release notesarea: ShellShell subsystem

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions