Skip to content

Commit

Permalink
- Added the --local-videos and `-lv aliases for --saved-videos.
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed Dec 31, 2020
1 parent 766be56 commit 3807c3e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bin/youtube-viewer
Expand Up @@ -752,7 +752,7 @@ usage: $execname [options] ([url] | [keywords])
-sv --search-videos : search for YouTube videos (default mode)
-wv --watched-videos : list the most recent watched videos
--save-video=s : save a video in a local playlist by video ID or URL
--saved-videos : display the local playlist of saved videos
-lv --local-videos : display the local playlist of saved videos
* Playlists
-up --playlists=s : list playlists created by a specific channel or user
Expand Down Expand Up @@ -1636,10 +1636,10 @@ sub parse_arguments {
'c|categories' => \$opt{categories},
'video-ids|videoids|id|ids=s' => \$opt{play_video_ids},

'lc|fc|local-channels:s' => \$opt{local_channels},
'lp|local-playlists:s' => \$opt{local_playlist},
'wv|watched-videos' => \$opt{watched_videos},
'saved-videos' => \$opt{saved_videos},
'lc|fc|local-channels:s' => \$opt{local_channels},
'lp|local-playlists:s' => \$opt{local_playlist},
'wv|watched-videos' => \$opt{watched_videos},
'lv|local-videos|saved-videos' => \$opt{saved_videos},

'save-video|save=s' => \$opt{save_video},
'save-channel=s' => \$opt{save_channel},
Expand Down

0 comments on commit 3807c3e

Please sign in to comment.