summaryrefslogtreecommitdiff
path: root/src/commandline.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2021-01-11 00:01:50 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2021-01-18 08:20:08 -0500
commit7e8018481284ff9ac1915425e9ed94d532ab33db (patch)
tree7fc710d0b769b8454436cb822a6f9c64eddf0c32 /src/commandline.h
parentaa7a552654ba3b218b87397dedc9e5a66d2f6701 (diff)
merged exe and run commands, added -e flag instead
added dialog when selected profile doesn't exist, this can happen with -p on the command line
Diffstat (limited to 'src/commandline.h')
-rw-r--r--src/commandline.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/commandline.h b/src/commandline.h
index d2cfbfa1..d0d62a72 100644
--- a/src/commandline.h
+++ b/src/commandline.h
@@ -150,9 +150,9 @@ protected:
};
-// runs a configured executable
+// runs a program or an executable
//
-class ExeCommand : public Command
+class RunCommand : public Command
{
protected:
std::string getUsageLine() const override;
@@ -164,17 +164,6 @@ protected:
};
-// runs an arbitrary executable
-//
-class RunCommand : public Command
-{
-protected:
- po::options_description getOptions() const;
- Meta meta() const override;
- std::optional<int> runPostOrganizer(OrganizerCore& organizer) override;
-};
-
-
// parses the command line and runs any given command
//
// the command line used to support a few commands but with no real conventions;