ref: v0.1.3 netris/CONFIGURATION.md -rw-r--r-- 1.3 KiB View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
This document covers command-line options available when launching netris. Some
options (such as keybindings) are only available in-game.

# Client

```
Usage of ./netris:
  -connect string
        connect to server address or socket path
  -debug
        enable debug logging
  -debug-address string
        address to serve debug info
  -matrix string
        pre-fill matrix with pieces
  -nick string
        nickname (default "Anonymous")
  -scale int
        UI scale
  -verbose
        enable verbose logging
```

### -scale

Defaults to 0, automatically scaling up to 3x standard size based on the
terminal window's dimensions.

Specify an integer to only use that UI scale.

### -connect

A TCP address in the form of address:port or socket path may be supplied.

# Server

```
Usage of ./netris-server:
  -debug
        enable debug logging
  -debug-address string
        address to serve debug info
  -listen-socket string
        host server on socket path
  -listen-ssh string
        host SSH server on network address
  -listen-tcp string
        host server on network address
  -netris string
        path to netris client
  -verbose
        enable verbose logging
```

### -listen-ssh and -netris

The netris client will be launched to serve incoming SSH connections. Update
client and server binaries together.