Changeset 17 in code for trunk/cmd


Ignore:
Timestamp:
Sep 21, 2023, 2:27:50 AM (21 months ago)
Author:
yakumo.izuru
Message:

Add manual page and set default instance to the main one.

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmd/suwako/main.go

    r16 r17  
    4040        if len(engine) == 0 || len(instance) == 0 {
    4141                log.Println("SUWAKO_ENGINE and/or SUWAKO_INSTANCE are unset")
    42                 log.Println("Defaulting to translate.chaotic.ninja with engine 'google'")
     42                log.Println("Defaulting to simplytranslate.org with engine 'google'")
    4343                engine = "google"
    44                 instance = "https://translate.chaotic.ninja"
     44                instance = "https://simplytranslate.org"
    4545        }
    4646        if len(input) == 0 {
Note: See TracChangeset for help on using the changeset viewer.