Merge pull request #3945 from ryantm/patch-1

fix spelling
This commit is contained in:
Eelco Dolstra 2020-08-20 10:24:32 +02:00 committed by GitHub
commit 0d7376bd8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -246,7 +246,7 @@ struct CmdDevelop : Common, MixEnvironment
addFlag({ addFlag({
.longName = "command", .longName = "command",
.shortName = 'c', .shortName = 'c',
.description = "command and arguments to be executed insted of an interactive shell", .description = "command and arguments to be executed instead of an interactive shell",
.labels = {"command", "args"}, .labels = {"command", "args"},
.handler = {[&](std::vector<std::string> ss) { .handler = {[&](std::vector<std::string> ss) {
if (ss.empty()) throw UsageError("--command requires at least one argument"); if (ss.empty()) throw UsageError("--command requires at least one argument");