1 Make "ps" accept (but ignore) all missing common options expected to be
3 This is required to not break scripts which are using these options.
7 @@ -663,7 +663,7 @@ int ps_main(int argc UNUSED_PARAM, char
9 opt_complementary = "-:ww";
10 opts = getopt32(argv, IF_SELINUX("Z")IF_FEATURE_SHOW_THREADS("T")IF_FEATURE_PS_LONG("l")
12 + "w""ANdeagrxCGUgpstuUojOFfsvuXVmMLScnfyH", &w_count, NULL);
13 /* if w is given once, GNU ps sets the width to 132,
14 * if w is given more than once, it is "unlimited"
16 @@ -678,7 +678,8 @@ int ps_main(int argc UNUSED_PARAM, char
18 /* -w is not supported, only -Z and/or -T */
19 opt_complementary = "-";
20 - opts = getopt32(argv, IF_SELINUX("Z")IF_FEATURE_SHOW_THREADS("T")IF_FEATURE_PS_LONG("l"));
21 + opts = getopt32(argv, IF_SELINUX("Z")IF_FEATURE_SHOW_THREADS("T")IF_FEATURE_PS_LONG("l")
22 + "ANdeagrxCGUgpstuUojOFfsvuXVmMLScnfyHw", NULL);