summaryrefslogtreecommitdiff
path: root/src/commandline.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-11-08 22:07:15 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-11-08 22:07:15 -0500
commita5469ae4e0668c36e4bf36bf7395fa25073b0bc6 (patch)
tree6e9aa66b30a3fca5aee21fb02078e372da7aea7d /src/commandline.cpp
parent54bf7e1fa230c78e98f429559b51a6be42f29e4a (diff)
renamed SingleInstance to MOMultiProcess
rewrote some comments to avoid using "instance"
Diffstat (limited to 'src/commandline.cpp')
-rw-r--r--src/commandline.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/commandline.cpp b/src/commandline.cpp
index 3d0e901d..fd2fcb51 100644
--- a/src/commandline.cpp
+++ b/src/commandline.cpp
@@ -144,7 +144,8 @@ std::optional<int> CommandLine::run(const std::wstring& line)
// the first word on the command line is not a valid command, try the other
- // stuff; this is handled in main.cpp
+ // stuff; this is used in setupCore() below when called from
+ // MOApplication::doOneRun()
// look for help
if (m_vm.count("help")) {
@@ -202,8 +203,6 @@ std::optional<int> CommandLine::run(const std::wstring& line)
std::optional<int> CommandLine::setupCore(OrganizerCore& organizer) const
{
- // if we have a command line parameter, it is either a nxm link or
- // a binary to start
if (m_shortcut.isValid()) {
if (m_shortcut.hasExecutable()) {
try {