@@ -829,7 +829,7 @@ usage: $execname [options] ([url] | [keywords])
829829
830830 * Arguments
831831 -f --fullscreen! : play videos in fullscreen mode
832- -n --audio! : play audio only, without displaying video
832+ -n --novideo : play audio only, without displaying video
833833 --append-arg=s : append some command-line parameters to the media player
834834 --player=s : select a player to stream videos
835835 available players: @{[keys %{$CONFIG ->{video_players}}]}
@@ -1771,7 +1771,7 @@ sub parse_arguments {
17711771 ' info|i|video-info=s' => \$opt {print_video_info },
17721772 ' get-term-width!' => \$opt {get_term_width },
17731773 ' page=i' => \$opt {page },
1774- ' novideo|no-video|n|audio! ' => \$opt {novideo },
1774+ ' novideo|no-video|n' => \$opt {novideo },
17751775 ' highlight!' => \$opt {highlight_watched },
17761776 ' autolike!' => \$opt {autolike_watched },
17771777 ' skip-watched!' => \$opt {skip_watched },
@@ -2849,8 +2849,8 @@ sub print_channels {
28492849 }
28502850 }
28512851
2852- # :p=i, :playlist=i
2853- elsif ($opt =~ / ^(?:p|playlists?|up)${digit_or_equal_re} (.*)/ ) {
2852+ # :p=i, :playlist=i, :up=i
2853+ elsif ($opt =~ / ^(?:p|l| playlists?|up)${digit_or_equal_re} (.*)/ ) {
28542854 if (my @nums = get_valid_numbers($# {$channels }, $1 )) {
28552855
28562856 foreach my $id (@nums ) {
@@ -4767,7 +4767,7 @@ sub print_videos {
47674767 }
47684768
47694769 # :p=i, :playlist=i, :up=i
4770- elsif ($opt =~ / ^(?:p|playlists?|up)${digit_or_equal_re} (.*)/ ) {
4770+ elsif ($opt =~ / ^(?:p|l| playlists?|up)${digit_or_equal_re} (.*)/ ) {
47714771 if (my @nums = get_valid_numbers($# {$videos }, $1 )) {
47724772 foreach my $id (@nums ) {
47734773 my $request = $yv_obj -> playlists($yv_utils -> get_channel_id($videos -> [$id ]));
0 commit comments