Changeset 17 in code for trunk


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@…>

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r13 r17  
    1717install:
    1818        install -Dm0755 suwako ${PREFIX}/bin/suwako
     19        install -Dm0644 suwako.1 ${PREFIX}/share/man/man1/suwako.1
    1920uninstall:
    2021        rm -f ${PREFIX}/bin/suwako
  • 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.