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/24 16:36:17 UTC

[jira] Created: (KARAF-159) when a bad command is typed (e.g. invalid command, argument, option) we should use some kind of syntax highlighting for the name of the command/argument/option in the error message

when a bad command is typed (e.g. invalid command, argument, option) we should use some kind of syntax highlighting for the name of the command/argument/option in the error message
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

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


e.g. we often use text like...

Error executing command: Argument template is required

which draws your eye to "Error" and "Argument" - neither of which describes its "template" thats missing. So maybe the command/argument/option name could be highlighted in a different colour (black?)

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


[jira] Resolved: (KARAF-159) when a bad command is typed (e.g. invalid command, argument, option) we should use some kind of syntax highlighting for the name of the command/argument/option in the error message

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

Guillaume Nodet resolved KARAF-159.
-----------------------------------

    Resolution: Fixed

Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
	A	shell/console/src/main/java/org/apache/felix/gogo/commands/CommandException.java
	M	shell/console/src/main/java/org/apache/felix/gogo/commands/basic/DefaultActionPreparator.java
	M	shell/console/src/main/java/org/apache/karaf/shell/console/jline/Console.java
	M	shell/console/src/test/java/org/apache/felix/gogo/commands/TestCommands.java
Committed r994983

I have highlighted the command and option/argument names in bold, but if it's not sufficient, we could use black in addition.

> when a bad command is typed (e.g. invalid command, argument, option) we should use some kind of syntax highlighting for the name of the command/argument/option in the error message
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-159
>                 URL: https://issues.apache.org/jira/browse/KARAF-159
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>            Reporter: james strachan
>            Assignee: Guillaume Nodet
>             Fix For: 2.1.0
>
>
> e.g. we often use text like...
> Error executing command: Argument template is required
> which draws your eye to "Error" and "Argument" - neither of which describes its "template" thats missing. So maybe the command/argument/option name could be highlighted in a different colour (black?)

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


[jira] Assigned: (KARAF-159) when a bad command is typed (e.g. invalid command, argument, option) we should use some kind of syntax highlighting for the name of the command/argument/option in the error message

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

Guillaume Nodet reassigned KARAF-159:
-------------------------------------

    Assignee: Guillaume Nodet

> when a bad command is typed (e.g. invalid command, argument, option) we should use some kind of syntax highlighting for the name of the command/argument/option in the error message
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-159
>                 URL: https://issues.apache.org/jira/browse/KARAF-159
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>            Reporter: james strachan
>            Assignee: Guillaume Nodet
>             Fix For: 2.1.0
>
>
> e.g. we often use text like...
> Error executing command: Argument template is required
> which draws your eye to "Error" and "Argument" - neither of which describes its "template" thats missing. So maybe the command/argument/option name could be highlighted in a different colour (black?)

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