Bug 980099

Summary: [GSS] (6.4.0) No help message for 'alias' command
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: CLIAssignee: Joe Wertz <ewertz>
Status: CLOSED WONTFIX QA Contact: Petr Kremensky <pkremens>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.1.1CC: bbaranow, cdewolf, myarboro, spederse
Target Milestone: ---   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1134282 (view as bug list) Environment:
Last Closed: 2015-03-23 13:31:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1134282    

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.