From 2dd91b537248f256e44cd6d6ebc7487fba73afe8 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 2 Apr 2013 14:11:09 +0800 Subject: bring back some print_help methods --- utils/segment/ngseg.cpp | 6 ++++++ utils/segment/spseg.cpp | 4 ++++ 2 files changed, 10 insertions(+) (limited to 'utils/segment') 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; diff --git a/utils/segment/spseg.cpp b/utils/segment/spseg.cpp index 212fccc..50dc5df 100644 --- a/utils/segment/spseg.cpp +++ b/utils/segment/spseg.cpp @@ -27,6 +27,10 @@ #include "utils_helper.h" +void print_help(){ + printf("Usage: spseg [--generate-extra-enter] [-o outputfile] [inputfile]\n"); +} + static gboolean gen_extra_enter = FALSE; static gchar * outputfile = NULL; -- cgit