diff options
Diffstat (limited to 'cpp/src/slice2rb/Main.cpp')
-rw-r--r-- | cpp/src/slice2rb/Main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/slice2rb/Main.cpp b/cpp/src/slice2rb/Main.cpp index 8c38a8bd60b..7b489503f71 100644 --- a/cpp/src/slice2rb/Main.cpp +++ b/cpp/src/slice2rb/Main.cpp @@ -17,9 +17,10 @@ using namespace Slice::Ruby; int main(int argc, char* argv[]) { + vector<string> args = Slice::argvToArgs(argc, argv); try { - return Slice::Ruby::compile(argc, argv); + return Slice::Ruby::compile(args); } catch(const std::exception& ex) { |