package Psh
::Builtins
::Help
;
require Psh
::Support
::Builtins
;
open(FILE
, "< $tmpfile");
if( !$add && /\=item \* C\<$arg[ >]/) {
if( $add && $_ =~ /\=cut/) {
=item * C<help [COMMAND]>
If COMMAND is specified, print out help on it; otherwise print out a list of
foreach my $line (@INC) {
$tmpfile= Psh
::OS
::catfile
(
Psh
::OS
::catdir
($line,'Psh','Builtins'),
$tmp= get_pod_from_file
($tmpfile,$arg);
$tmpfile= Psh
::OS
::catfile
(
Psh
::OS
::catdir
($line,'Psh','Builtins','Fallback'),
$tmp= get_pod_from_file
($tmpfile,$arg);
Psh
::OS
::display_pod
("=over 4\n".$tmp."\n=back\n");
Psh
::Util
::print_error_i18n
('no_help',$arg);
Psh
::Util
::print_out_i18n
('help_header');
Psh
::Util
::print_list
(Psh
::Support
::Builtins
::get_builtin_commands
());
my ($com)= $text=~/^\s*(\S+)/;
if (Psh
::Support
::Builtins
::is_builtin
($com)) {
$Psh::term
->on_new_line();
return (1,grep { Psh
::Util
::starts_with
($_,$text) } Psh
::Support
::Builtins
::get_builtin_commands
());