summaryrefslogtreecommitdiff
path: root/src/commandline.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-11-10 11:52:34 -0500
committerGitHub <noreply@github.com>2020-11-10 11:52:34 -0500
commit49f208c5a28d757879e81b42af7dc7f1a0edfc76 (patch)
treead49b9c01db6267755c3d9cdea4c7b1df7f5b170 /src/commandline.h
parentfef8543a58b4226242ce26c4c8876abaa64394cb (diff)
parent5fa4df55256912beadb3992451e4e7e8b9d90e7c (diff)
Merge pull request #1287 from isanae/master
Stuff doesn't run
Diffstat (limited to 'src/commandline.h')
-rw-r--r--src/commandline.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commandline.h b/src/commandline.h
index baa0bfb9..09c1bb8e 100644
--- a/src/commandline.h
+++ b/src/commandline.h
@@ -45,10 +45,10 @@ public:
//
po::positional_options_description positional() const;
- // whether the command allows for unregistered options; this is only used for
- // the old `launch` command and shouldn't be used anywhere else
+ // when this returns true, the command line is not parsed at all and doRun()
+ // is expected to use untouched()
//
- virtual bool allow_unregistered() const;
+ virtual bool legacy() const;
// runs this command, eventually calls doRun()
//
@@ -136,7 +136,7 @@ protected:
class LaunchCommand : public Command
{
public:
- bool allow_unregistered() const override;
+ bool legacy() const override;
protected:
Meta meta() const override;