aboutsummaryrefslogtreecommitdiff
path: root/t/15-usage.t
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-09-01 13:02:13 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-09-01 13:02:13 +0200
commit353e59034a230b6a502b92ac16226e3b6a98c821 (patch)
tree316cf36e979a37c1ab671c9c5cca2b4d587bd5e0 /t/15-usage.t
parentc869532d063368ad0fe015eab7603c38e62c03c3 (diff)
downloadsbotools2-353e59034a230b6a502b92ac16226e3b6a98c821.tar.xz
sboinstall: add support for templates. this closes #38.
Diffstat (limited to 't/15-usage.t')
-rwxr-xr-xt/15-usage.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/15-usage.t b/t/15-usage.t
index 94eb9f0..0e1ee37 100755
--- a/t/15-usage.t
+++ b/t/15-usage.t
@@ -102,6 +102,7 @@ sbofind { expected => $sbofind, exit => 1 };
## sboinstall
my $sboinstall = <<'SBOINSTALL';
Usage: sboinstall [options] sbo
+ sboinstall --use-template file
Options (defaults shown first where applicable):
-h|--help:
@@ -122,6 +123,11 @@ Options (defaults shown first where applicable):
non-interactive; skips README and all prompts.
-R|--norequirements:
view the README but do not parse requirements, commands, or options.
+ --create-template (FILE):
+ create a template with specified requirements, commands, and options.
+ --use-template (FILE):
+ use a template created by --create-template to install requirements with
+ specified commands and options. This also enables the --nointeractive flag.
SBOINSTALL
sboinstall '-h', { expected => $sboinstall };