summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-06-07 18:47:36 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-06-07 18:47:36 +0200
commitdaa3ac4a5340030d9a2dd8bad5776b1130f103b2 (patch)
tree1844530c8c3de99f301ac5acb44bafea337aa61a /bin
parent2ba53fc4ef8dfabf177c8ca4d2ec30ae08a5a056 (diff)
envstore: usage: Use perldoc
Diffstat (limited to 'bin')
-rwxr-xr-xbin/envstore5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/envstore b/bin/envstore
index adf8230..fb6b87b 100755
--- a/bin/envstore
+++ b/bin/envstore
@@ -14,10 +14,7 @@ my $arg2 = shift;
my ($key, $value);
sub usage {
- print STDERR "Usage: envstore <eval|show|clear>\n";
- print STDERR " envstore save <var> [value]\n";
- print STDERR " envstore rm <var>\n";
- exit(1);
+ exec('perldoc', '-F', $0) or die("Yo, cannot execute perldoc -F $0, so do it yourself");
}
sub check_store {