# get your command arguments and conditionally set $help_command # from your example: svn help commit # $help_command should contain 'commit' if (defined $help_command) { pod2usage(-verbose => 99, -sections => [ $help_command ] ); } else { pod2usage( ... ); # normal usage of help without $help_command defined }