strace.c: sort option arguments alphabetically
Except for the ones that enabled by configure options. While we are here, let's also change the indentation of while expression continuation in order to separate it from the following switch clause. * strace.c (init): Reorder options in getopt() call.
This commit is contained in:
8
strace.c
8
strace.c
@ -1577,13 +1577,11 @@ init(int argc, char *argv[])
|
||||
# error Bug in DEFAULT_QUAL_FLAGS
|
||||
#endif
|
||||
qualify("signal=all");
|
||||
while ((c = getopt(argc, argv,
|
||||
"+b:cCdfFhiqrtTvVwxyz"
|
||||
while ((c = getopt(argc, argv, "+"
|
||||
#ifdef USE_LIBUNWIND
|
||||
"k"
|
||||
"k"
|
||||
#endif
|
||||
"D"
|
||||
"a:e:o:O:p:s:S:u:E:P:I:")) != EOF) {
|
||||
"a:b:cCdDe:E:fFhiI:o:O:p:P:qrs:S:tTu:vVwxyz")) != EOF) {
|
||||
switch (c) {
|
||||
case 'b':
|
||||
if (strcmp(optarg, "execve") != 0)
|
||||
|
Reference in New Issue
Block a user