Document `-h' and also pass it to the example - wu - Prints hourly forecast for the next 48 hours using api.wunderground.com
(HTM) hg clone https://bitbucket.org/iamleot/wu
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) changeset b2e525eb0799a06228194465f36a8c712a5dcb36
(DIR) parent 7d89e52c2ad8a33960c09d15944abc1bc3fe470c
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Thu, 11 Jan 2018 13:05:11
Document `-h' and also pass it to the example
Diffstat:
README | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff -r 7d89e52c2ad8 -r b2e525eb0799 README
--- a/README Thu Jan 11 12:53:54 2018 +0100
+++ b/README Thu Jan 11 13:05:11 2018 +0100
@@ -2,7 +2,7 @@
hours using api.wunderground.com.
The output is a TSV (tab-separated values) with 4 fields, in the following
-order:
+order (to add an header to print them please pass the `-h' option to wu):
- hour
- temperature in °C
@@ -14,7 +14,8 @@
% date
Mon Jan 8 01:40:47 CET 2018
- % env WU_APIKEY=XXXXXXXXXXXXXXXX WU_CITY=IT/Rome wu
+ % env WU_APIKEY=XXXXXXXXXXXXXXXX WU_CITY=IT/Rome wu -h
+ Hour °C Condition Probability of precipitation
02 16 Clear 0
03 15 Clear 0
04 15 Partly Cloudy 0