summaryrefslogtreecommitdiff
path: root/src/commandline.h
diff options
context:
space:
mode:
authorQudix <17361645+Qudix@users.noreply.github.com>2020-11-10 12:11:20 -0600
committerQudix <17361645+Qudix@users.noreply.github.com>2020-11-10 12:11:20 -0600
commit62caad3cdbf6b616594c1d9d17d837f942ae110b (patch)
tree94270f70c8e467d59ce8c5599526e67857f8060e /src/commandline.h
parentb9bc1a2d56be5efc4478f1487c3e7dfb3529102d (diff)
parent9c21d1e4f6a42043bc4cf86f1235750ee8ce6f64 (diff)
Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into master
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;