<blockquote>
<p>Maybe you can just disable "Open new documents form the command-line" in configuration.</p>
</blockquote>
<p>I made that option ;-) I <em>want</em> to open new documents from the command-line, but I sometimes accidentally do it too.</p>
<blockquote>
<p>Or maybe Geany needs --new-document command line flag.</p>
</blockquote>
<p>I thought of that too, but it doesn't help when using a glob pattern that captures more files than you thought it would.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2369?email_source=notifications&email_token=AAIOWJYXD4PXKBNMQ67VUU3QPHTSJA5CNFSM4JCGGNKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBVEUHI#issuecomment-543836701">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3E6QW4V2KBZJEG4XTQPHTSJANCNFSM4JCGGNKA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ2HUCBTQNFQINYV533QPHTSJA5CNFSM4JCGGNKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBVEUHI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2369?email_source=notifications\u0026email_token=AAIOWJYXD4PXKBNMQ67VUU3QPHTSJA5CNFSM4JCGGNKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBVEUHI#issuecomment-543836701",
"url": "https://github.com/geany/geany/pull/2369?email_source=notifications\u0026email_token=AAIOWJYXD4PXKBNMQ67VUU3QPHTSJA5CNFSM4JCGGNKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBVEUHI#issuecomment-543836701",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>