diff options
author | Peng Wu <alexepico@gmail.com> | 2013-04-01 13:53:23 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-04-01 13:53:23 +0800 |
commit | 796012ff32e0b39539ddd5d328403147d71a47ff (patch) | |
tree | 5bdda4175cc87698e5f4449705a2fe7beee91282 /tests/storage/test_parser2.cpp | |
parent | bd294b8971242bfa3602dbba85faca1643792366 (diff) | |
download | libpinyin-796012ff32e0b39539ddd5d328403147d71a47ff.tar.gz |
update spseg.cpp
Diffstat (limited to 'tests/storage/test_parser2.cpp')
-rw-r--r-- | tests/storage/test_parser2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_parser2.cpp b/tests/storage/test_parser2.cpp index 046c523..5ea3fb8 100644 --- a/tests/storage/test_parser2.cpp +++ b/tests/storage/test_parser2.cpp @@ -66,7 +66,7 @@ int main(int argc, char * argv[]) { g_option_context_add_main_entries(context, entries, NULL); if (!g_option_context_parse(context, &argc, &argv, &error)) { g_print("option parsing failed:%s\n", error->message); - exit(1); + exit(EINVAL); } if (incomplete) |