Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Vorbis tools
Commits
773e6719
Commit
773e6719
authored
Dec 06, 2020
by
Philipp Schafft
🦁
Browse files
Update: Use symbolic constants in getopt long options list
parent
931720b6
Changes
1
Show whitespace changes
Inline
Side-by-side
oggdec/oggdec.c
View file @
773e6719
...
@@ -28,15 +28,15 @@
...
@@ -28,15 +28,15 @@
#include "i18n.h"
#include "i18n.h"
struct
option
long_options
[]
=
{
struct
option
long_options
[]
=
{
{
"quiet"
,
0
,
0
,
'Q'
},
{
"quiet"
,
no_argument
,
NULL
,
'Q'
},
{
"help"
,
0
,
0
,
'h'
},
{
"help"
,
no_argument
,
NULL
,
'h'
},
{
"version"
,
0
,
0
,
'V'
},
{
"version"
,
no_argument
,
NULL
,
'V'
},
{
"bits"
,
1
,
0
,
'b'
},
{
"bits"
,
required_argument
,
NULL
,
'b'
},
{
"endianness"
,
1
,
0
,
'e'
},
{
"endianness"
,
required_argument
,
NULL
,
'e'
},
{
"raw"
,
0
,
0
,
'R'
},
{
"raw"
,
no_argument
,
NULL
,
'R'
},
{
"sign"
,
1
,
0
,
's'
},
{
"sign"
,
required_argument
,
NULL
,
's'
},
{
"output"
,
1
,
0
,
'o'
},
{
"output"
,
required_argument
,
NULL
,
'o'
},
{
NULL
,
0
,
0
,
0
}
{
NULL
,
0
,
NULL
,
0
}
};
};
static
int
quiet
=
0
;
static
int
quiet
=
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