Commit 3dfa3c24 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Changed comments

parent 9d0b9d7e
...@@ -26,10 +26,10 @@ trait TemplateTool extends ToolCommand { ...@@ -26,10 +26,10 @@ trait TemplateTool extends ToolCommand {
} text "Path to output script" } text "Path to output script"
opt[File]('t', "template") valueName "<file>" action { (x, c) => opt[File]('t', "template") valueName "<file>" action { (x, c) =>
c.copy(template = Some(x)) c.copy(template = Some(x))
} text "Path to template, default it try to fetch this from 'BIOPET_SCRIPT_TEMPLATE'" } text "Path to template. By default it will try to fetch this from the ENV value 'BIOPET_SCRIPT_TEMPLATE'"
opt[Unit]("expert") action { (x, c) => opt[Unit]("expert") action { (x, c) =>
c.copy(expert = true) c.copy(expert = true)
} } text "This enables expert options / questions"
} }
/** /**
...@@ -100,10 +100,10 @@ object TemplateTool { ...@@ -100,10 +100,10 @@ object TemplateTool {
println(s"$parent does not exist") println(s"$parent does not exist")
false false
} else if (!parent.canRead) { } else if (!parent.canRead) {
println(s"No premision to read $parent") println(s"No permission to read $parent")
false false
} else if (!parent.canWrite) { } else if (!parent.canWrite) {
println(s"No premision to write $parent") println(s"No permission to write $parent")
false false
} else true } else true
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment