diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-07 18:47:36 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-07 18:47:36 +0200 |
commit | daa3ac4a5340030d9a2dd8bad5776b1130f103b2 (patch) | |
tree | 1844530c8c3de99f301ac5acb44bafea337aa61a | |
parent | 2ba53fc4ef8dfabf177c8ca4d2ec30ae08a5a056 (diff) |
envstore: usage: Use perldoc
-rwxr-xr-x | bin/envstore | 5 |
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 { |