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 6d1a19b1
authored
Aug 24, 2015
by
Iwasaki Yudai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention `--once` option in README
1 parent
bfa24e29
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
README.md
main.go
README.md
View file @
6d1a19b
...
...
@@ -60,6 +60,7 @@ By default, gotty starts a web server at port 8080. Open the URL on your web bro
--tls-key "~/.gotty.key" TLS/SSL key [$GOTTY_TLS_KEY]
--title-format "GoTTY - {{ .Command }} ({{ .Hostname }})" Title format of browser window [$GOTTY_TITLE_FORMAT]
--auto-reconnect "-1" Seconds to automatically reconnect to the server when the connection is closed (default: disabled) [$GOTTY_AUTO_RECONNECT]
--once Accept only one client and exit on disconnection [$GOTTY_ONCE]
```
### Profile File
...
...
main.go
View file @
6d1a19b
...
...
@@ -82,7 +82,7 @@ func main() {
},
cli
.
BoolFlag
{
Name
:
"once"
,
Usage
:
"Accept only one client and exit
s
on disconnection"
,
Usage
:
"Accept only one client and exit on disconnection"
,
EnvVar
:
"GOTTY_ONCE"
,
},
}
...
...
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