You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Martin Lichtin <li...@yahoo.com> on 2014/11/12 15:06:11 UTC
Karaf shell cmd-line argument handling
Wanted to ask if this is a feature or a bug:
karaf@root()> feature:install 007
Error executing command: No feature named '7' with version '0.0.0' available
I have other, custom commands using string arguments and these now require quoted values in case of leading zeros.
Re: Karaf shell cmd-line argument handling
Posted by lichtin <li...@yahoo.com>.
Yes, quoting leaves the argument value unmodified.
jbonofre wrote
> I guess that it works if you do feature:install "007" ?
>
> Regards
> JB
>
> On 11/12/2014 03:06 PM, Martin Lichtin wrote:
>> Wanted to ask if this is a feature or a bug:
>>
>> karaf@root()> feature:install 007
>> Error executing command: No feature named '7' with version '0.0.0'
>> available
>>
>> I have other, custom commands using string arguments and these now
>> require quoted values in case of leading zeros.
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@
> http://blog.nanthrax.net
> Talend - http://www.talend.com
--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-shell-cmd-line-argument-handling-tp4036366p4036373.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Karaf shell cmd-line argument handling
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
I guess that it works if you do feature:install "007" ?
Regards
JB
On 11/12/2014 03:06 PM, Martin Lichtin wrote:
> Wanted to ask if this is a feature or a bug:
>
> karaf@root()> feature:install 007
> Error executing command: No feature named '7' with version '0.0.0' available
>
> I have other, custom commands using string arguments and these now
> require quoted values in case of leading zeros.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com