mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
changed help menu to reflect that you can only use asci letters in town/state field
This commit is contained in:
parent
01fba3c64d
commit
68ba60a3e7
2
inxi
2
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=<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
|
||||
|
|
3
inxi.1
3
inxi.1
|
@ -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!
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue