mirror of
https://github.com/yudai/gotty.git
synced 2026-03-11 08:02:34 +01:00
Added path option.
This commit is contained in:
parent
92d8d62ae1
commit
1ca7dea205
3 changed files with 5 additions and 1 deletions
1
main.go
1
main.go
|
|
@ -21,6 +21,7 @@ func main() {
|
|||
flags := []flag{
|
||||
flag{"address", "a", "IP address to listen"},
|
||||
flag{"port", "p", "Port number to listen"},
|
||||
flag{"path", "m", "Base path"},
|
||||
flag{"permit-write", "w", "Permit clients to write to the TTY (BE CAREFUL)"},
|
||||
flag{"credential", "c", "Credential for Basic Authentication (ex: user:pass, default disabled)"},
|
||||
flag{"random-url", "r", "Add a random string to the URL"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue