diff --git a/inxi b/inxi index 833bed6..c8eb45f 100755 --- a/inxi +++ b/inxi @@ -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= - Supported types: zip (postal) code; city,state; latitude,longtitude" + print_screen_output "-! 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 diff --git a/inxi.1 b/inxi.1 index d44cf3f..0b449f5 100755 --- a/inxi.1 +++ b/inxi.1 @@ -386,8 +386,9 @@ Turns on hostname in System line. Overrides inxi config file value (if set): B_S .TP .B \-! location= 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