[
https://issues.jboss.org/browse/FORGE-363?page=com.atlassian.jira.plugin....
]
Lincoln Baxter III closed FORGE-363.
------------------------------------
Resolution: Won't Fix
Hey Hendi,
CTRL-D is the intended abort command. CTRL-C simply clears the current line. There is
technically not much we can do to change this since Java does not have real, portable
signal handling.
Sorry,
Lincoln
Pressing Ctrl+C should abort current task
-----------------------------------------
Key: FORGE-363
URL:
https://issues.jboss.org/browse/FORGE-363
Project: Forge
Issue Type: Bug
Components: Shell
Affects Versions: 1.0.0.Beta3
Environment: Linux
Reporter: Hendy Irawan
Assignee: Lincoln Baxter III
While pressing Ctrl+D works, it should (also) respond to Ctrl+C.
{code}
[ecommerce] ecommerce $ new-project --help
***INFO*** The command [new-project] takes [0] unnamed argument(s), but found [1].
***INFO*** Swallowed unknown token [--help] for command [new-project].
? [named=The name of the new project (of type java.lang.String)]: ^C
? [named=The name of the new project (of type java.lang.String)]:
***INFO*** Aborted.
{code}
I would say that the absence of "--help" as a synonym for "help
<cmd>" is also a bug, let me know if you agree with me and I'll file
another issue for that.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira