diff options
Diffstat (limited to 'src/sdp.d')
| -rwxr-xr-x | src/sdp.d | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -143,9 +143,9 @@ void main(string[] args) {      defaultGetoptPrinter("Some information about the program.", helpInfo.options);    }    foreach(arg; args) { -    if (match(arg, rgx.flag_action)) { +    if (arg.match(rgx.flag_action)) {        flag_action ~= " " ~ arg;   // flags not taken by getopt -    } else if (match(arg, rgx.src_pth)) { +    } else if (arg.match(rgx.src_pth)) {        fns_src ~= arg;             // gather input markup source file names for processing      } else {                      // anything remaining, unused        arg_unrecognized ~= " " ~ arg; @@ -181,7 +181,7 @@ void main(string[] args) {          }        }        enforce( -        match(fn_src, rgx.src_pth), +        fn_src.match(rgx.src_pth),          "not a sisu markup filename"        );        auto t = | 
