Bug 980099 - [GSS] (6.4.0) No help message for 'alias' command
Summary: [GSS] (6.4.0) No help message for 'alias' command
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CLI
Version: 6.1.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: EAP 6.4.0
Assignee: Joe Wertz
QA Contact: Petr Kremensky
URL:
Whiteboard:
Depends On:
Blocks: 1134282
TreeView+ depends on / blocked
 
Reported: 2013-07-01 12:27 UTC by Petr Kremensky
Modified: 2016-01-04 05:08 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
: 1134282 (view as bug list)
Environment:
Last Closed: 2015-03-23 13:31:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-1628 0 Major Open alias --help print nothing on jboss-cli 2016-10-13 09:46:17 UTC

Description Petr Kremensky 2013-07-01 12:27:17 UTC
Description of problem:
There is no help message for alias command.

Version-Release number of selected component (if applicable):
EAP 6.1.1 ER1

Steps to Reproduce:
start EAP and connect to CLI
[...@localhost:9999 /] alias --help

Actual results:
nothing

Expected results:
At least some short message like it is for 'pwd' and 'quit' commands with some simple usage example.

Comment 3 Ståle W. Pedersen 2013-07-22 13:21:57 UTC
hi, would it be sufficient to have similar info as bash regarding alias:
$ alias --help
bash: alias: --: invalid option
alias: usage: alias [-p] [name[=value] ... ]

Comment 4 Petr Kremensky 2013-07-22 13:58:37 UTC
Hi, this will not work, there is no [-p] option and I wasn't able to add more aliases on single line eg. 
alias cd="cd subsystem=logging" ls="ls -l"

creates 
alias cd='cd subsystem=logging" ls="ls -l'
not 
alias cd='cd subsystem=logging'
alias ls='ls -l'

Comment 5 Ståle W. Pedersen 2013-07-22 14:03:45 UTC
yes, i know it doesnt support -p and more that one alias on a single line, it was more meant as a general help msg example.
- ill try to implement that though later :)

Comment 6 Petr Kremensky 2013-07-22 14:29:11 UTC
I see :), than something like this would be IMO sufficient.

Comment 8 Carlo de Wolf 2015-03-23 13:31:09 UTC
Triage: Needs feature in AESH.


Note You need to log in before you can comment on or make changes to this bug.