From 031fc92e02c314cce9fc8febcc7900fa2d885941 Mon Sep 17 00:00:00 2001 From: Lakelezz <12222135+Lakelezz@users.noreply.github.com> Date: Thu, 30 Nov 2017 16:55:58 +0100 Subject: Make help-commands customisable (#227) --- src/framework/standard/create_command.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/framework/standard/create_command.rs') diff --git a/src/framework/standard/create_command.rs b/src/framework/standard/create_command.rs index 44e9988..0df649d 100644 --- a/src/framework/standard/create_command.rs +++ b/src/framework/standard/create_command.rs @@ -114,22 +114,22 @@ impl CreateCommand { self } - + /// Like [`exec`] but accepts a `Command` directly. /// /// [`exec`]: #method.exec pub fn cmd(mut self, c: C) -> Self { self.1 = FnOrCommand::Command(Arc::new(c)); - + self } - + /// Like [`cmd`] but says to the builder to use this command's options instead of its own. /// /// [`cmd`]: #method.cmd pub fn cmd_with_options(mut self, c: C) -> Self { self.1 = FnOrCommand::CommandWithOptions(Arc::new(c)); - + self } -- cgit v1.2.3