Add a --show-series argument to the tdwtf CLI
[webservice-tdwtf.git] / tdwtf
diff --git a/tdwtf b/tdwtf
index 40d8e46db536b3adb83abd38813c6f54301ca530..8c102e962360857f9809c63a7a50da48f648a808 100755 (executable)
--- a/tdwtf
+++ b/tdwtf
@@ -10,6 +10,7 @@ GetOptions(
        recent => \$args{recent},
        series => \$args{series},
        author => \$args{author},
+       'show-series' => \$args{show_series},
 );
 
 App::TDWTF::run(\%args, @ARGV);
@@ -35,6 +36,7 @@ tdwtf - CLI interface to thedailywtf.com
   tdwtf --author snoofle # lists the most recent 8 articles by snoofle
   tdwtf --author snoofle 10
   tdwtf --author snoofle 2015 01
+  tdwtf --show-series    # prints a list of all existing article series
 
 =head1 DESCRIPTION
 
This page took 0.008983 seconds and 4 git commands to generate.