Sfoglia il codice sorgente

bin/wrt-display: correctly expand new, fulltext, all

Brennen Bearnes 3 mesi fa
parent
commit
8cfe9edd43
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1
    1
      bin/wrt-display
  2. 1
    1
      lib/App/WRT.pm

+ 1
- 1
bin/wrt-display Vedi File

@@ -105,7 +105,7 @@ if ($from_stdin) {
105 105
 }
106 106
 
107 107
 # TODO: Better error reporting strategy, print this on stderr:
108
-foreach my $entry (@to_display) {
108
+foreach my $entry (map { $w->expand_alias($_) } @to_display) {
109 109
   unless ($w->{entries}->is_extant($entry)) {
110 110
     say("No such entry: $entry");
111 111
     exit(1);

+ 1
- 1
lib/App/WRT.pm Vedi File

@@ -1,6 +1,6 @@
1 1
 package App::WRT;
2 2
 
3
-use version; our $VERSION = version->declare("v6.2.2");
3
+use version; our $VERSION = version->declare("v6.2.3");
4 4
 
5 5
 use strict;
6 6
 use warnings;

Loading…
Annulla
Salva