aboutsummaryrefslogtreecommitdiff
path: root/src/framework/standard/create_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/framework/standard/create_command.rs')
-rw-r--r--src/framework/standard/create_command.rs8
1 files changed, 4 insertions, 4 deletions
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<C: Command + 'static>(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<C: Command + 'static>(mut self, c: C) -> Self {
self.1 = FnOrCommand::CommandWithOptions(Arc::new(c));
-
+
self
}