- pidof(8): make -s optional and optional -o; closes #168
first cut.
diff --git a/procps/Config.in b/procps/Config.in
index d17bbcd..b4832db 100644
--- a/procps/Config.in
+++ b/procps/Config.in
@@ -37,6 +37,22 @@
Pidof finds the process id's (pids) of the named programs. It prints
those id's on the standard output.
+config CONFIG_FEATURE_PIDOF_SINGLE
+ bool " Enable argument for single shot (-s)"
+ default n
+ depends on CONFIG_PIDOF
+ help
+ Support argument '-s' for returning only the first pid found.
+
+config CONFIG_FEATURE_PIDOF_OMIT
+ bool " Enable argument for omitting pids (-o)"
+ default n
+ depends on CONFIG_PIDOF
+ help
+ Support argument '-o' for omitting the given pids in output.
+ The special pid %PPID can be used to name the parent process
+ of the pidof, in other words the calling shell or shell script.
+
config CONFIG_PS
bool "ps"
default n