aboutsummaryrefslogtreecommitdiff
path: root/procps/ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/ps.c')
-rw-r--r--procps/ps.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/procps/ps.c b/procps/ps.c
index afd981313..e004d25bb 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -718,9 +718,11 @@ int ps_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
718 /* -w is a bit complicated */ 718 /* -w is a bit complicated */
719 int w_count = 0; 719 int w_count = 0;
720 make_all_argv_opts(argv); 720 make_all_argv_opts(argv);
721 opt_complementary = "ww"; 721 opts = getopt32(argv, "^"
722 opts = getopt32(argv, IF_SELINUX("Z")IF_FEATURE_SHOW_THREADS("T")IF_FEATURE_PS_LONG("l") 722 IF_SELINUX("Z")IF_FEATURE_SHOW_THREADS("T")IF_FEATURE_PS_LONG("l")"w"
723 "w", &w_count); 723 "\0" "ww",
724 &w_count
725 );
724 /* if w is given once, GNU ps sets the width to 132, 726 /* if w is given once, GNU ps sets the width to 132,
725 * if w is given more than once, it is "unlimited" 727 * if w is given more than once, it is "unlimited"
726 */ 728 */