mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
gobject-query: Combine two identical if-branches
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
ad77557277
commit
6211e25953
@ -170,11 +170,8 @@ main (gint argc,
|
||||
{
|
||||
gen_tree = 1;
|
||||
}
|
||||
else if (strcmp ("-h", argv[i]) == 0)
|
||||
{
|
||||
return help (NULL);
|
||||
}
|
||||
else if (strcmp ("--help", argv[i]) == 0)
|
||||
else if (strcmp ("-h", argv[i]) == 0 ||
|
||||
strcmp ("--help", argv[i]) == 0)
|
||||
{
|
||||
return help (NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user