You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "james strachan (JIRA)" <ji...@apache.org> on 2010/08/26 15:01:00 UTC

[jira] Created: (KARAF-170) Main --help should behave like Main someCommand --help and list all the possible sub commands when outside of OSGi

Main --help should behave like Main someCommand --help and list all the possible sub commands when outside of OSGi
------------------------------------------------------------------------------------------------------------------

                 Key: KARAF-170
                 URL: https://issues.apache.org/jira/browse/KARAF-170
             Project: Karaf
          Issue Type: Improvement
          Components: console
            Reporter: james strachan
             Fix For: 2.2.0


when using the org.apache.karaf.shell.console.Main class directly as a program on the command line (lets call it main for now) you can get help on a sub command as follows...

{code}
main foo --help
{code}

so it would be good to also support


{code}
main --help
{code}

Either that or we should add a help command so we can do

{code}
main help
{code}

or

{code}
main help foo
{code}

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


[jira] Resolved: (KARAF-170) Main --help should behave like Main someCommand --help and list all the possible sub commands when outside of OSGi

Posted by "james strachan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

james strachan resolved KARAF-170.
----------------------------------

    Resolution: Won't Fix

not required now KARAF-171 has a patch for it

> Main --help should behave like Main someCommand --help and list all the possible sub commands when outside of OSGi
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-170
>                 URL: https://issues.apache.org/jira/browse/KARAF-170
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>            Reporter: james strachan
>             Fix For: 2.2.0
>
>
> when using the org.apache.karaf.shell.console.Main class directly as a program on the command line (lets call it main for now) you can get help on a sub command as follows...
> {code}
> main foo --help
> {code}
> so it would be good to also support
> {code}
> main --help
> {code}
> Either that or we should add a help command so we can do
> {code}
> main help
> {code}
> or
> {code}
> main help foo
> {code}

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


[jira] Commented: (KARAF-170) Main --help should behave like Main someCommand --help and list all the possible sub commands when outside of OSGi

Posted by "james strachan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903013#action_12903013 ] 

james strachan commented on KARAF-170:
--------------------------------------

I guess this isn't such a big deal - now we've a help command (like git & svn) added as part of KARAF-171

> Main --help should behave like Main someCommand --help and list all the possible sub commands when outside of OSGi
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-170
>                 URL: https://issues.apache.org/jira/browse/KARAF-170
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>            Reporter: james strachan
>             Fix For: 2.2.0
>
>
> when using the org.apache.karaf.shell.console.Main class directly as a program on the command line (lets call it main for now) you can get help on a sub command as follows...
> {code}
> main foo --help
> {code}
> so it would be good to also support
> {code}
> main --help
> {code}
> Either that or we should add a help command so we can do
> {code}
> main help
> {code}
> or
> {code}
> main help foo
> {code}

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