From b2baf1abe8f47483f8e4ea352a1460f1777680c6 Mon Sep 17 00:00:00 2001 From: Hirofumi Wakasugi Date: Mon, 7 May 2018 15:26:38 +0900 Subject: [PATCH] Fix example code in Command doc --- 3.0/docs/command/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3.0/docs/command/overview.md b/3.0/docs/command/overview.md index 960e572f..02849776 100644 --- a/3.0/docs/command/overview.md +++ b/3.0/docs/command/overview.md @@ -110,7 +110,7 @@ struct CowsayCommand: Command { ... /// See `Command`. - func run(using context: CommandContext) throws -> Future { + func run(using context: CommandContext) throws -> Future { let message = try context.argument("message") /// We can use requireOption here since both options have default values let eyes = try context.requireOption("eyes")