From 7e8018481284ff9ac1915425e9ed94d532ab33db Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Mon, 11 Jan 2021 00:01:50 -0500 Subject: 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 --- src/commandline.h | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'src/commandline.h') 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 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; -- cgit v1.3.1