Description
Considering the karaf shell demo-scope:say-hello implemented by the attached file SayHelloCommand.java. The entered text "Bob" is included in the list of historical commands. This is not expected.
karaf@root()>demo-scope:say-hello xx:xx:xx Enter your name: Bob Hello Alice karaf@root()<arrow-up> karaf@root()Bob