Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
a3c79800
Commit
a3c79800
authored
May 27, 2015
by
vvaltman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge fixed
parent
452c30fc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
19 deletions
+3
-19
README.md
README.md
+1
-2
main.c
main.c
+2
-17
No files found.
README.md
View file @
a3c79800
...
@@ -43,8 +43,7 @@ On gentoo:
...
@@ -43,8 +43,7 @@ On gentoo:
On Fedora:
On Fedora:
sudo yum install lua-devel openssl-devel libconfig-devel readline-devel libevent-devel libjansson-devel
sudo yum install lua-devel openssl-devel libconfig-devel readline-devel libevent-devel libjansson-devel python-devel
sudo yum install lua-devel openssl-devel libconfig-devel readline-devel libevent-devel python-devel
On FreeBSD:
On FreeBSD:
...
...
main.c
View file @
a3c79800
...
@@ -495,24 +495,8 @@ void usage (void) {
...
@@ -495,24 +495,8 @@ void usage (void) {
printf
(
" --json prints answers and values in json format
\n
"
);
printf
(
" --json prints answers and values in json format
\n
"
);
#endif
#endif
#ifdef USE_PYTHON
#ifdef USE_PYTHON
printf
(
" -
Z
python script file
\n
"
);
printf
(
" -
-python-script/-Z <script-name>
python script file
\n
"
);
#endif
#endif
#ifdef USE_PYTHON
printf
(
" -Z python script file
\n
"
);
#endif
printf
(
" -W send dialog_list query and wait for answer before reading input
\n
"
);
printf
(
" -C disable color output
\n
"
);
printf
(
" -R disable readline
\n
"
);
printf
(
" -d daemon mode
\n
"
);
printf
(
" -L <log-name> log file name
\n
"
);
printf
(
" -U <user-name> change uid after start
\n
"
);
printf
(
" -G <group-name> change gid after start
\n
"
);
printf
(
" -D disable output
\n
"
);
printf
(
" -P <port> port to listen for input commands
\n
"
);
printf
(
" -S <socket-name> unix socket to create
\n
"
);
printf
(
" -e <commands> make commands end exit
\n
"
);
printf
(
" -I use user and chat IDs in updates instead of names
\n
"
);
printf
(
" -6 use ipv6 (may be unstable)
\n
"
);
exit
(
1
);
exit
(
1
);
}
}
...
@@ -659,6 +643,7 @@ void args_parse (int argc, char **argv) {
...
@@ -659,6 +643,7 @@ void args_parse (int argc, char **argv) {
{
"accept-any-tcp"
,
no_argument
,
0
,
1001
},
{
"accept-any-tcp"
,
no_argument
,
0
,
1001
},
{
"disable-link-preview"
,
no_argument
,
0
,
1002
},
{
"disable-link-preview"
,
no_argument
,
0
,
1002
},
{
"json"
,
no_argument
,
0
,
1003
},
{
"json"
,
no_argument
,
0
,
1003
},
{
"python-script"
,
required_argument
,
0
,
'Z'
},
{
0
,
0
,
0
,
0
}
{
0
,
0
,
0
,
0
}
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment