diff options
author | Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com> | 2014-08-19 13:36:46 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-09-08 00:38:53 +0200 |
commit | 514d45f46cb0a41870ba96d4e884d9aecc160337 (patch) | |
tree | 8037d0b865cd32dcccb5236a6ef1bd7652624e2a | |
parent | 7ac0474ca34007a828711a6de05d63bd686bba73 (diff) | |
download | neardal-514d45f46cb0a41870ba96d4e884d9aecc160337.tar.gz neardal-514d45f46cb0a41870ba96d4e884d9aecc160337.tar.bz2 neardal-514d45f46cb0a41870ba96d4e884d9aecc160337.zip |
Add a few shortcuts for exit.
-rw-r--r-- | ncl/ncl_cmd.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ncl/ncl_cmd.c b/ncl/ncl_cmd.c index 9c67fd9..e09b544 100644 --- a/ncl/ncl_cmd.c +++ b/ncl/ncl_cmd.c @@ -1468,6 +1468,14 @@ static NCLError ncl_cmd_exit(int argc, char *argv[]) ****************************************************************************/ /* Array of command line functions interpretor (alphabetical order) */ static NCLCmdInterpretor itFunc[] = { + { "q", + ncl_cmd_exit, + "Exit from command line interpretor" }, + + { "quit", + ncl_cmd_exit, + "Exit from command line interpretor" }, + { "exit", ncl_cmd_exit, "Exit from command line interpretor" }, |