summaryrefslogtreecommitdiffstats
path: root/utils/segment/ngseg.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-04-02 14:11:09 +0800
committerPeng Wu <alexepico@gmail.com>2013-04-02 14:11:09 +0800
commit2dd91b537248f256e44cd6d6ebc7487fba73afe8 (patch)
treee18fc12bc2a1deae5b5d7271bc7c294142df2dc0 /utils/segment/ngseg.cpp
parentdb89cdf49dc5609ae42f9d6d83f0f1a929d258e0 (diff)
downloadlibpinyin-2dd91b537248f256e44cd6d6ebc7487fba73afe8.tar.gz
libpinyin-2dd91b537248f256e44cd6d6ebc7487fba73afe8.tar.xz
libpinyin-2dd91b537248f256e44cd6d6ebc7487fba73afe8.zip
bring back some print_help methods
Diffstat (limited to 'utils/segment/ngseg.cpp')
-rw-r--r--utils/segment/ngseg.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/segment/ngseg.cpp b/utils/segment/ngseg.cpp
index bd2a9a0..d74ec43 100644
--- a/utils/segment/ngseg.cpp
+++ b/utils/segment/ngseg.cpp
@@ -25,6 +25,12 @@
#include "pinyin_internal.h"
#include "utils_helper.h"
+
+void print_help(){
+ printf("Usage: ngseg [--generate-extra-enter] [-o outputfile] [inputfile]\n");
+}
+
+
static gboolean gen_extra_enter = FALSE;
static gchar * outputfile = NULL;