fix typos in arg_targets_all
authorDale Wijnand <dale.wijnand@gmail.com>
Fri, 20 Apr 2018 19:00:57 +0000 (20:00 +0100)
committerDale Wijnand <dale.wijnand@gmail.com>
Fri, 20 Apr 2018 20:18:04 +0000 (21:18 +0100)
src/bin/command_prelude.rs

index a057a1fc59bd2e97f80cd60fa254541ac79ac6f5..79572d8d34b366586743be1a432ff5ab87c7c16d 100644 (file)
@@ -49,21 +49,21 @@ pub trait AppExt: Sized {
         lib: &'static str,
         bin: &'static str,
         bins: &'static str,
-        examle: &'static str,
-        examles: &'static str,
+        example: &'static str,
+        examples: &'static str,
         test: &'static str,
         tests: &'static str,
         bench: &'static str,
-        benchs: &'static str,
+        benches: &'static str,
         all: &'static str,
     ) -> Self {
         self.arg_targets_lib_bin(lib, bin, bins)
-            ._arg(multi_opt("example", "NAME", examle))
-            ._arg(opt("examples", examles))
+            ._arg(multi_opt("example", "NAME", example))
+            ._arg(opt("examples", examples))
             ._arg(multi_opt("test", "NAME", test))
             ._arg(opt("tests", tests))
             ._arg(multi_opt("bench", "NAME", bench))
-            ._arg(opt("benches", benchs))
+            ._arg(opt("benches", benches))
             ._arg(opt("all-targets", all))
     }