diff --git a/src/suyu_cmd/suyu.cpp b/src/suyu_cmd/suyu.cpp
index c0757d0821f572f1c927155061650bfaf5482ade..1a5714950dfddcae9cf94c00a1880ffe69931add 100644
--- a/src/suyu_cmd/suyu.cpp
+++ b/src/suyu_cmd/suyu.cpp
@@ -263,7 +263,7 @@ int main(int argc, char** argv) {
                 break;
             }
             case 'l': {
-                std::string str_arg(optarg);
+                std::string str_arg(argv[optind++]);
                 str_arg.append(",0"); // FALLBACK: if string is partially completed ("1234,3")
                                       // this will set all those unset to 0. otherwise we get
                                       // all 3s.