diff options
Diffstat (limited to 'sbofixinfo')
-rwxr-xr-x | sbofixinfo | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -111,7 +111,14 @@ B<sbolint>(1), B<sbosearch>(1) PRGNAM VERSION HOMEPAGE DOWNLOAD MD5SUM DOWNLOAD_x86_64 MD5SUM_x86_64 REQUIRES MAINTAINER EMAIL /; -die "$SELF v$VERSION\nUsage: $SELF [-b] infofile <infofile ...>\n" unless @ARGV; +die "$SELF v$VERSION\nUsage: $SELF [--help] [-b] infofile <infofile ...>\n" unless @ARGV; + +if($ARGV[0] eq '--help') { + no warnings; + require FindBin; + system("perldoc $FindBin::RealScript"); + exit 0; +} if($ARGV[0] eq '-b') { $backup = 1; |