Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libplist
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
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
pwn
libplist
Commits
d237e712
Commit
d237e712
authored
Jun 04, 2020
by
Martin Szulecki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unify plistutil usage output with other tools and add project URLs
parent
4a33d603
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
plistutil.c
tools/plistutil.c
+10
-5
No files found.
tools/plistutil.c
View file @
d237e712
...
...
@@ -49,13 +49,18 @@ static void print_usage(int argc, char *argv[])
{
char
*
name
=
NULL
;
name
=
strrchr
(
argv
[
0
],
'/'
);
printf
(
"Usage: %s -i|--infile FILE [-o|--outfile FILE] [-d|--debug]
\n
"
,
(
name
?
name
+
1
:
argv
[
0
]));
printf
(
"Convert a plist FILE from binary to XML format or vice-versa.
\n\n
"
);
printf
(
"Usage: %s [OPTIONS] [-i FILE] [-o FILE]
\n
"
,
(
name
?
name
+
1
:
argv
[
0
]));
printf
(
"
\n
"
);
printf
(
"Convert a plist FILE from binary to XML format or vice-versa.
\n
"
);
printf
(
"
\n
"
);
printf
(
"OPTIONS:
\n
"
);
printf
(
" -i, --infile FILE Optional FILE to convert from or stdin if - or not used
\n
"
);
printf
(
" -o, --outfile FILE Optional FILE to convert to or stdout if - or not used
\n
"
);
printf
(
" -f, --format [bin|xml] Force output format, regardless of input type
\n
"
);
printf
(
" -d, --debug Enable extended debug output
\n
"
);
printf
(
"
\n
"
);
printf
(
"Homepage: <"
PACKAGE_URL
">
\n
"
);
printf
(
"Bug Reports: <"
PACKAGE_BUGREPORT
">
\n
"
);
}
static
options_t
*
parse_arguments
(
int
argc
,
char
*
argv
[])
...
...
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