karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james strachan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (KARAF-171) provide a default "help" sub command in shells used outside of OSGi
Date Thu, 26 Aug 2010 19:55:55 GMT

    [ https://issues.apache.org/jira/browse/KARAF-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903012#action_12903012
] 

james strachan commented on KARAF-171:
--------------------------------------

for simplicity I added a new "help" command by default when not in OSGi...

http://github.com/jstrachan/karaf/commit/82df13140c48128aba35c4448b8be867e74460a4

we might want to do the same thing in OSGi as well?

So you can now do

{code}
help
{code}

or


{code}
help foo
{code}

the latter is like "foo --help"



> provide a default "help" sub command in shells used outside of OSGi
> -------------------------------------------------------------------
>
>                 Key: KARAF-171
>                 URL: https://issues.apache.org/jira/browse/KARAF-171
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>            Reporter: james strachan
>             Fix For: 2.2.0
>
>
> If we run the org.apache.karaf.shell.console.Main  on the command line we enter a shell.
> We should be able to type
> {code}
> help
> {code}
> and get the same kinda output as
> {code}
> java org.apache.karaf.shell.console.Main --help
> {code}
> basically listing all the available sub commands and their descriptions

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message