From 68ba60a3e79036dd03c3853263dd9c23d3737eb3 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 18 May 2013 05:46:29 +0000 Subject: [PATCH] changed help menu to reflect that you can only use asci letters in town/state field --- inxi | 2 +- inxi.1 | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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