diff options
author | 2014-11-08 06:24:03 +0900 | |
---|---|---|
committer | 2014-11-11 00:18:25 +0900 | |
commit | 395f6e702066b65f05c45d2b92cd4baab3dd62cb (patch) | |
tree | 201930cf49f39f948e81f9471211c82096018ef8 /native/dicttoolkit/src/command_executors/header_executor.cpp | |
parent | 61280c0b7fc87cf901272f38b75d12c5193b33ff (diff) | |
download | latinime-395f6e702066b65f05c45d2b92cd4baab3dd62cb.tar.gz latinime-395f6e702066b65f05c45d2b92cd4baab3dd62cb.tar.xz latinime-395f6e702066b65f05c45d2b92cd4baab3dd62cb.zip |
Implement help command for dicttoolkit.
Bug: 10059681
Change-Id: I0cadf1f80103136cdac5c00b6fca4d81b4bf7384
Diffstat (limited to 'native/dicttoolkit/src/command_executors/header_executor.cpp')
-rw-r--r-- | native/dicttoolkit/src/command_executors/header_executor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/native/dicttoolkit/src/command_executors/header_executor.cpp b/native/dicttoolkit/src/command_executors/header_executor.cpp index ec2ca8119..068a62c31 100644 --- a/native/dicttoolkit/src/command_executors/header_executor.cpp +++ b/native/dicttoolkit/src/command_executors/header_executor.cpp @@ -28,5 +28,11 @@ const char *const HeaderExecutor::COMMAND_NAME = "header"; return 0; } +/* static */ void HeaderExecutor::printUsage() { + printf("*** %s\n", COMMAND_NAME); + printf("Usage: %s\n", COMMAND_NAME); + printf("Prints the header contents of a dictionary file.\n\n"); +} + } // namespace dicttoolkit } // namespace latinime |