Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dvblast
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
dvblast
Commits
03245857
Commit
03245857
authored
Sep 12, 2011
by
Georgi Chorbadzhiyski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvblastctl: Add proper help text.
parent
d2e57d87
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
+27
-2
dvblastctl.c
dvblastctl.c
+27
-2
No files found.
dvblastctl.c
View file @
03245857
...
@@ -134,9 +134,34 @@ void print_pids( uint8_t *p_data )
...
@@ -134,9 +134,34 @@ void print_pids( uint8_t *p_data )
void
usage
()
void
usage
()
{
{
msg_Raw
(
NULL
,
"DVBlastctl %d.%d.%d (%s)
"
,
VERSION_MAJOR
,
VERSION_MINOR
,
printf
(
"DVBlastctl %d.%d.%d (%s)
\n
"
,
VERSION_MAJOR
,
VERSION_MINOR
,
VERSION_REVISION
,
VERSION_EXTRA
);
VERSION_REVISION
,
VERSION_EXTRA
);
msg_Raw
(
NULL
,
"Usage: dvblastctl -r <remote socket> reload|shutdown|fe_status|mmi_status|mmi_open|mmi_close|mmi_get|mmi_send_text|mmi_send_choice|get_pat|get_cat|get_nit|get_sdt|get_pmt|get_pids|get_pid [<PID>] [<ServiceID>] [<CAM slot>] [-x <text|xml>] [<text/choice>]"
);
printf
(
"Usage: dvblastctl -r <remote socket> [-x <text|xml>] [cmd]
\n
"
);
printf
(
"Options:
\n
"
);
printf
(
" -r --remote-socket <name> Set socket name to <name>.
\n
"
);
printf
(
" -x --print <text|xml> Choose output format for info commands.
\n
"
);
printf
(
"Control commands:
\n
"
);
printf
(
" reload Reload configuration.
\n
"
);
printf
(
" shutdown Shutdown DVBlast.
\n
"
);
printf
(
"Status commands:
\n
"
);
printf
(
" fe_status Read frontend status information.
\n
"
);
printf
(
" mmi_status Read CAM status.
\n
"
);
printf
(
"MMI commands:
\n
"
);
printf
(
" mmi_slot_status <slot> Read MMI slot status.
\n
"
);
printf
(
" mmi_open <slot> Open MMI slot.
\n
"
);
printf
(
" mmi_close <slot> Close MMI slot.
\n
"
);
printf
(
" mmi_get <slot> Read MMI slot.
\n
"
);
printf
(
" mmi_send_text <slot> <text> Send text to MMI slot.
\n
"
);
printf
(
" mmi_send_choice <slot> <choice> Send choice to MMI slot.
\n
"
);
printf
(
"Demux info commands:
\n
"
);
printf
(
" get_pat Return last PAT table.
\n
"
);
printf
(
" get_cat Return last CAT table.
\n
"
);
printf
(
" get_nit Return last NIT table.
\n
"
);
printf
(
" get_sdt Return last SDT table.
\n
"
);
printf
(
" get_pmt <service_id> Return last PMT table.
\n
"
);
printf
(
" get_pids Return info about all pids.
\n
"
);
printf
(
" get_pid <pid> Return info for chosen pid only.
\n
"
);
printf
(
"
\n
"
);
exit
(
1
);
exit
(
1
);
}
}
...
...
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