From 17a4b7bc4be7360e87b4cb351fcb0aa2fbd5ad69 Mon Sep 17 00:00:00 2001 From: huangruizhe Date: Tue, 9 Oct 2018 17:33:39 -0400 Subject: [PATCH] added missing argument small fix --- src/fstbin/fstrand.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fstbin/fstrand.cc b/src/fstbin/fstrand.cc index 9344b538d9c..f0bc3938051 100644 --- a/src/fstbin/fstrand.cc +++ b/src/fstbin/fstrand.cc @@ -45,6 +45,8 @@ int main(int argc, char *argv[]) { po.Register("allow-empty", &opts.allow_empty, "If true, we may generate an empty FST."); + po.Read(argc, argv); + if (po.NumArgs() > 1) { po.PrintUsage(); exit(1);