You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Pavlo Vasylchenko (JIRA)" <ji...@apache.org> on 2015/08/20 15:13:45 UTC
[jira] [Updated] (KARAF-3942) Using ' and " symbols with commands
completion
[ https://issues.apache.org/jira/browse/KARAF-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavlo Vasylchenko updated KARAF-3942:
-------------------------------------
Description:
I need to use command completion with parameter, surrounded by quotes.
But when I type
{code}
test:mycommand ' + TAB
{code}
I will have an exception.
The same for default commands:
kar:create ‘ + TAB = Error executing command: String index out of range: 13
If I pass QName without quotes like: {http://talend.org/greeter}Greeter karaf thinks that it is two different arguments
{code}
{http://talend.org/greeter}
{code}
and
{code}
Greeter
{code}
was:
I need to use command completion with parameter, surrounded by quotes.
But when I type test:mycommand ' + TAB I will have an exception.
The same for default commands:
kar:create ‘ + TAB = Error executing command: String index out of range: 13
If I pass QName without quotes like: {http://talend.org/greeter}Greeter karaf thinks that it is two different arguments "{http://talend.org/greeter}" and "Greeter"
> Using ' and " symbols with commands completion
> ----------------------------------------------
>
> Key: KARAF-3942
> URL: https://issues.apache.org/jira/browse/KARAF-3942
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 4.0.1
> Reporter: Pavlo Vasylchenko
>
> I need to use command completion with parameter, surrounded by quotes.
> But when I type
> {code}
> test:mycommand ' + TAB
> {code}
> I will have an exception.
> The same for default commands:
> kar:create ‘ + TAB = Error executing command: String index out of range: 13
> If I pass QName without quotes like: {http://talend.org/greeter}Greeter karaf thinks that it is two different arguments
> {code}
> {http://talend.org/greeter}
> {code}
> and
> {code}
> Greeter
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)