Menu

#73 alias q

open
nobody
None
5
2008-07-11
2008-07-11
No

cybershell> q
java.lang.ArrayIndexOutOfBoundsException: 0
at org.cyberaide.core.CyberShell.execute(CyberShell.java:52)
at org.cyberaide.core.CommandPlugin.read(CommandPlugin.java:180)
at org.cyberaide.core.CyberShell.main(CyberShell.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:290)
at java.lang.Thread.run(Thread.java:637)

We need a feature in which we can alias commands to others

eg

alias q=exit

meaning that if you now enter q the exit command is invoked

Discussion


Log in to post a comment.

MongoDB Logo MongoDB