aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-10-30 21:44:49 -0700
committerbnewbold <bnewbold@robocracy.org>2016-10-30 21:44:49 -0700
commit440c700657b70ae54a958c20f3a19c417712ceab (patch)
tree6b5e18dd8fdf2d7590e99ad6eb78d63741df3696 /src
parenta9c1b23705fe609bb88adff2103ad5849c9b3f1f (diff)
downloadmodelthing-440c700657b70ae54a958c20f3a19c417712ceab.tar.gz
modelthing-440c700657b70ae54a958c20f3a19c417712ceab.zip
remembered multi-line string literal syntax
Diffstat (limited to 'src')
-rw-r--r--src/bin/mt-tool.rs11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/bin/mt-tool.rs b/src/bin/mt-tool.rs
index 803bc46..4d66339 100644
--- a/src/bin/mt-tool.rs
+++ b/src/bin/mt-tool.rs
@@ -38,11 +38,12 @@ fn print_usage(opts: Options) {
let brief = "usage:\tmt-tool <CMD> [options]";
println!("");
print!("{}", opts.usage(&brief));
- println!("Commands:\n\
- \tparse <file> checks that file contains a valid modelica model\n\
- \tlist dumps all the known models in database\n\
- \tload <dir> checks that directory contains valid model and metadata\n\
-");
+ println!("");
+ println!(r#"Commands:
+ parse <file> checks that file contains a valid modelica model
+ list dumps all the known models in database
+ load <dir> checks that directory contains valid model and metadata
+"#);
}
fn main() {