changed help menu to reflect that you can only use asci letters in town/state field

This commit is contained in:
inxi-svn 2013-05-18 05:46:29 +00:00
parent 01fba3c64d
commit 68ba60a3e7
2 changed files with 4 additions and 3 deletions

2
inxi
View file

@ -2554,7 +2554,7 @@ show_options()
print_screen_output "-! 31 Turns off hostname in output. Useful if showing output from servers etc."
print_screen_output "-! 32 Turns on hostname in output. Overrides global B_SHOW_HOST='false'"
if [[ $B_ALLOW_WEATHER == 'true' ]];then
print_screen_output "-! location=<location> - <location> Supported types: zip (postal) code; city,state; latitude,longtitude"
print_screen_output "-! location=<location> - <location> Supported: postal code; city,[state/country]; latitude,longitude"
print_screen_output " Only use if you want the weather somewhere other than the machine running $SCRIPT_NAME."
print_screen_output " Must be used with -w. City/country names must not contain spaces: newyork,ny"
fi

5
inxi.1
View file

@ -386,8 +386,9 @@ Turns on hostname in System line. Overrides inxi config file value (if set): B_S
.TP
.B \-! location=<location_string>
With \-w, get weather for an alternate location. Accepts postal/zip code, city,state pair, or latitude,longitude.
Note: city/country/state names must not contain spaces!
Examples: \-! location=95623 OR \-! location=Boston,MA OR \-! location=45.5234,\-122.6762 OR \-! location=newyork,ny
Note: city/country/state names must not contain spaces! Only asci letters in city/state/country names as well, sorry.
Examples: \-! location=95623 OR \-! location=Boston,MA OR \-! location=45.5234,\-122.6762 OR \-! location=newyork,ny
OR \-! location=bodo,norway
.SH DEBUGGING OPTIONS
.TP