diff options
Diffstat (limited to 'odin/strm/rss_staggered')
-rw-r--r-- | odin/strm/rss_staggered | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/odin/strm/rss_staggered b/odin/strm/rss_staggered index 30abb939..2f3bb997 100644 --- a/odin/strm/rss_staggered +++ b/odin/strm/rss_staggered | |||
@@ -1,7 +1,10 @@ | |||
1 | #!@zsh@/bin/zsh | 1 | #!@zsh@/bin/zsh |
2 | 2 | ||
3 | delta_t=20 | 3 | typeset -A opts |
4 | interval=3600 | 4 | zparseopts -A opts -M -- -delta: d:=-delta -interval: i:=-interval |
5 | |||
6 | delta_t=${opts[--delta]:-20} | ||
7 | interval=${opts[--interval]:-3600} | ||
5 | 8 | ||
6 | staggerFile=~/.rss-stagger | 9 | staggerFile=~/.rss-stagger |
7 | 10 | ||