You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Francois Papon <fr...@openobject.fr> on 2018/01/03 12:14:48 UTC
[console] - sub-command
Hi,
When entering in a subgroup command line, the tab completer display all
the command and not only the subgroup command.
Is it normal or only the subcommand should be display ?
Test on Karaf 4.1.4 and 4.2.0.M2 :
karaf@root()> instance
karaf@root(instance)>
#prompt
*:bundle
bundle
*:config
config
*:dev
dev
*:event
event
*:exit
exit
*:feature
feature
*:help
help
*:instance
instance
*:jaas
jaas
*:kar
kar
*:log
*:package
package
*:service
service
*:shell
shell
*:ssh
ssh
*:system
system
__directories
__files
__get_scr_components
__load_class
__option_not_present
__set_unset_arguments
__usage_completion
....
François
Re: [console] - sub-command
Posted by Francois Papon <fr...@openobject.fr>.
Thanks ;)
I will read the user guide first next time...
François
Le 03/01/2018 à 17:29, Jean-Baptiste Onofré a écrit :
> Hi
>
> It depends the completion mode you use.
>
> Subshell completion mode is what you want. You can change on the fly
> or via config (it's described in the user guide).
>
> Regards
> JB
> Le 3 janv. 2018, à 13:15, Francois Papon <francois.papon@openobject.fr
> <ma...@openobject.fr>> a écrit:
>
> Hi,
>
> When entering in a subgroup command line, the tab completer display all
> the command and not only the subgroup command.
>
> Is it normal or only the subcommand should be display ?
>
> Test on Karaf 4.1.4 and 4.2.0.M2 :
>
> karaf@root()> instance
> karaf@root(instance)>
>
> #prompt
> *:bundle
> bundle
> *:config
> config
> *:dev
> dev
> *:event
> event
> *:exit
> exit
> *:feature
> feature
> *:help
> help
> *:instance
> instance
> *:jaas
> jaas
> *:kar
> kar
> *:log
> *:package
> package
> *:service
> service
> *:shell
> shell
> *:ssh
> ssh
> *:system
> system
> __directories
> __files
> __get_scr_components
> __load_class
> __option_not_present
> __set_unset_arguments
> __usage_completion
>
>
> ....
>
> François
>
Re: [console] - sub-command
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi
It depends the completion mode you use.
Subshell completion mode is what you want. You can change on the fly or via config (it's described in the user guide).
Regards
JB
Le 3 janv. 2018 à 13:15, à 13:15, Francois Papon <fr...@openobject.fr> a écrit:
>Hi,
>
>When entering in a subgroup command line, the tab completer display all
>the command and not only the subgroup command.
>
>Is it normal or only the subcommand should be display ?
>
>Test on Karaf 4.1.4 and 4.2.0.M2 :
>
>karaf@root()> instance
>karaf@root(instance)>
>
>#prompt
>*:bundle
>bundle
>*:config
>config
>*:dev
>dev
>*:event
>event
>*:exit
>exit
>*:feature
>feature
>*:help
>help
>*:instance
>instance
>*:jaas
>jaas
>*:kar
>kar
>*:log
>*:package
>package
>*:service
>service
>*:shell
>shell
>*:ssh
>ssh
>*:system
>system
>__directories
>__files
>__get_scr_components
>__load_class
>__option_not_present
>__set_unset_arguments
>__usage_completion
>
>
>....
>
>François