aboutsummaryrefslogtreecommitdiff
path: root/procps/pstree.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/pstree.c')
-rw-r--r--procps/pstree.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/procps/pstree.c b/procps/pstree.c
index 212cda23c..4fda1c21c 100644
--- a/procps/pstree.c
+++ b/procps/pstree.c
@@ -9,14 +9,13 @@
9 * 9 *
10 * Licensed under GPLv2, see file LICENSE in this source tree. 10 * Licensed under GPLv2, see file LICENSE in this source tree.
11 */ 11 */
12
13//config:config PSTREE 12//config:config PSTREE
14//config: bool "pstree (9.4 kb)" 13//config: bool "pstree (9.4 kb)"
15//config: default y 14//config: default y
16//config: help 15//config: help
17//config: Display a tree of processes. 16//config: Display a tree of processes.
18 17
19//applet:IF_PSTREE(APPLET(pstree, BB_DIR_USR_BIN, BB_SUID_DROP)) 18//applet:IF_PSTREE(APPLET_NOEXEC(pstree, pstree, BB_DIR_USR_BIN, BB_SUID_DROP, pstree))
20 19
21//kbuild:lib-$(CONFIG_PSTREE) += pstree.o 20//kbuild:lib-$(CONFIG_PSTREE) += pstree.o
22 21
@@ -387,8 +386,7 @@ int pstree_main(int argc UNUSED_PARAM, char **argv)
387 386
388 G.output_width = get_terminal_width(0); 387 G.output_width = get_terminal_width(0);
389 388
390 opt_complementary = "?1"; 389 getopt32(argv, "^" "p" "\0" "?1");
391 getopt32(argv, "p");
392 argv += optind; 390 argv += optind;
393 391
394 if (argv[0]) { 392 if (argv[0]) {