Well, depending on your needs, one possible work around is to define the command as accepting a single argument with the multiple flag consisting of a List<String>. You then have to rebuild the single argument from the string list. However, you'll loose multiple whitespaces between words.
On Thu, Dec 6, 2012 at 9:02 AM, Dan Tran <[email protected]> wrote: > Hi > > I would like to create a karaf command that can have a single argument > with space like > > my:command this is my single argument with spaces > > karaf turns it into > > my:command this > > The work around is > > my: command 'this is my single argument with spaces' > > Would it possible to to do this without surrounding single quotes? > > > Huge thanks ahead > > -Dan > -- ------------------------ Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ FuseSource, Integration everywhere http://fusesource.com
