aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/sdp.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/sdp.d')
-rwxr-xr-xsrc/sdp/sdp.d9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/sdp/sdp.d b/src/sdp/sdp.d
index 418eb1f..8434841 100755
--- a/src/sdp/sdp.d
+++ b/src/sdp/sdp.d
@@ -309,9 +309,10 @@ void main(string[] args) {
_manifest_start = PodManifest!()(arg);
if (arg.match(rgx.flag_action)) {
flag_action ~= " " ~ arg; // flags not taken by getopt
- } else if (arg.match(rgx.src_pth_sst_or_ssm)) {
- _manifests ~= PodMatters!()(_opt_action, _env, arg, arg); // gather input markup source file names for processing
- } else if (_manifest_start.pod_manifest_file_with_path) {
+ } else if (
+ !(arg.match(rgx.src_pth_sst_or_ssm))
+ && _manifest_start.pod_manifest_file_with_path
+ ) {
string contents_location_raw_;
string contents_location_;
string sisudoc_txt_ = _manifest_start.pod_manifest_file_with_path;
@@ -357,6 +358,8 @@ void main(string[] args) {
_manifests ~= _manifest_matter; // TODO how to capture?
}
}
+ } else if (arg.match(rgx.src_pth_sst_or_ssm)) {
+ _manifests ~= PodMatters!()(_opt_action, _env, arg, arg); // gather input markup source file names for processing
} else if (arg.match(rgx.src_pth_zip)) {
// fns_src ~= arg; // gather input markup source file names for processing
} else { // anything remaining, unused