mirror of
https://github.com/yudai/gotty.git
synced 2026-02-06 16:41:49 +01:00
Added handling of —permit-arguments option
This commit is contained in:
parent
7715f93517
commit
a4e77b2b76
4 changed files with 42 additions and 5 deletions
1
main.go
1
main.go
|
|
@ -34,6 +34,7 @@ func main() {
|
|||
flag{"reconnect", "", "Enable reconnection"},
|
||||
flag{"reconnect-time", "", "Time to reconnect"},
|
||||
flag{"once", "", "Accept only one client and exit on disconnection"},
|
||||
flag{"permit-arguments", "", "Allow to send arguments like this http://exemple.com:8080/?arg=AAA&arg=BBB"},
|
||||
}
|
||||
|
||||
mappingHint := map[string]string{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue