You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Martin Lichtin (JIRA)" <ji...@apache.org> on 2014/11/18 08:04:34 UTC
[jira] [Created] (FELIX-4702) Shell command argument 'string' type
handling - loosing leading zeros
Martin Lichtin created FELIX-4702:
-------------------------------------
Summary: Shell command argument 'string' type handling - loosing leading zeros
Key: FELIX-4702
URL: https://issues.apache.org/jira/browse/FELIX-4702
Project: Felix
Issue Type: Bug
Components: Gogo Shell
Environment: Karaf 3.0.2
Reporter: Martin Lichtin
Priority: Minor
This is coming from KARAF-3364.
karaf@root()> feature:install 007
Error executing command: No feature named '7' with version '0.0.0' available
It seems argument-handling changes the value of a string argument.
@Argument(index = 0, required = true, description = "myname")
private String paramName;
I'd expect 'paramName' contain the value as it was typed.
It should only be necessary to quote an argument in case of needing to pass special characters, such as white space, etc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)