Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
haoqu.ma
/
gotty
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit eb200ce5
authored
Oct 09, 2015
by
Richard Metzler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo
1 parent
f72b1805
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
README.md
main.go
README.md
View file @
eb200ce
...
@@ -66,7 +66,7 @@ By default, GoTTY starts a web server at port 8080. Open the URL on your web bro
...
@@ -66,7 +66,7 @@ By default, GoTTY starts a web server at port 8080. Open the URL on your web bro
--once Accept only one client and exit on disconnection [$GOTTY_ONCE]
--once Accept only one client and exit on disconnection [$GOTTY_ONCE]
--config "~/.gotty" Config file path [$GOTTY_CONFIG]
--config "~/.gotty" Config file path [$GOTTY_CONFIG]
--version, -v print the version
--version, -v print the version
--permit-arguments Allow to send arguments like this http://ex
e
mple.com:8080/?arg=AAA&arg=BBB
--permit-arguments Allow to send arguments like this http://ex
a
mple.com:8080/?arg=AAA&arg=BBB
```
```
...
...
main.go
View file @
eb200ce
...
@@ -34,7 +34,7 @@ func main() {
...
@@ -34,7 +34,7 @@ func main() {
flag
{
"reconnect"
,
""
,
"Enable reconnection"
},
flag
{
"reconnect"
,
""
,
"Enable reconnection"
},
flag
{
"reconnect-time"
,
""
,
"Time to reconnect"
},
flag
{
"reconnect-time"
,
""
,
"Time to reconnect"
},
flag
{
"once"
,
""
,
"Accept only one client and exit on disconnection"
},
flag
{
"once"
,
""
,
"Accept only one client and exit on disconnection"
},
flag
{
"permit-arguments"
,
""
,
"Allow to send arguments like this http://ex
e
mple.com:8080/?arg=AAA&arg=BBB"
},
flag
{
"permit-arguments"
,
""
,
"Allow to send arguments like this http://ex
a
mple.com:8080/?arg=AAA&arg=BBB"
},
}
}
mappingHint
:=
map
[
string
]
string
{
mappingHint
:=
map
[
string
]
string
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment