3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-05 19:49:32 +01:00

pbot-vm: remove "command:" text from -paste output

This commit is contained in:
Pragmatic Software 2023-03-12 16:12:58 -07:00
parent e736051de5
commit 6565c516e9
2 changed files with 2 additions and 2 deletions

View File

@ -396,7 +396,7 @@ sub show_output($self) {
} }
if (exists $self->{options}->{'-paste'} or (defined $self->{got_run} and $self->{got_run} eq 'paste')) { if (exists $self->{options}->{'-paste'} or (defined $self->{got_run} and $self->{got_run} eq 'paste')) {
my $cmdline = "command: $self->{cmdline}\n"; my $cmdline = "$self->{cmdline}\n";
$cmdline =~ s/\$sourcefile/$self->{sourcefile}/g; $cmdline =~ s/\$sourcefile/$self->{sourcefile}/g;
$cmdline =~ s/\$execfile/$self->{execfile}/g; $cmdline =~ s/\$execfile/$self->{execfile}/g;

View File

@ -25,7 +25,7 @@ use PBot::Imports;
# These are set by the /misc/update_version script # These are set by the /misc/update_version script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 4626, BUILD_REVISION => 4627,
BUILD_DATE => "2023-03-12", BUILD_DATE => "2023-03-12",
}; };