Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
08a9b051
Commit
08a9b051
authored
Apr 10, 2018
by
Christian Hesse
Committed by
Hisham Muhammad
May 22, 2018
Browse files
fix option string
This broke with commit
db05ba61
.
parent
e1e37913
Changes
1
Hide whitespace changes
Inline
Side-by-side
htop.c
View file @
08a9b051
...
@@ -93,7 +93,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
...
@@ -93,7 +93,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
int
opt
,
opti
=
0
;
int
opt
,
opti
=
0
;
/* Parse arguments */
/* Parse arguments */
while
((
opt
=
getopt_long
(
argc
,
argv
,
"hvCs
t:
:d:u:p:i"
,
long_opts
,
&
opti
)))
{
while
((
opt
=
getopt_long
(
argc
,
argv
,
"hvCs:
t
d:u:p:i"
,
long_opts
,
&
opti
)))
{
if
(
opt
==
EOF
)
break
;
if
(
opt
==
EOF
)
break
;
switch
(
opt
)
{
switch
(
opt
)
{
case
'h'
:
case
'h'
:
...
...
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