ssd: fix -K/-S mixup in help text

This commit is contained in:
Denis Vlasenko 2008-08-03 19:23:30 +00:00
parent c45b53940a
commit 7ce47e698e

View File

@ -3650,8 +3650,8 @@
"[OPTIONS] [-S|-K] ... [-- arguments...]" "[OPTIONS] [-S|-K] ... [-- arguments...]"
#define start_stop_daemon_full_usage "\n\n" \ #define start_stop_daemon_full_usage "\n\n" \
"Search for matching processes, and then\n" \ "Search for matching processes, and then\n" \
"-S: stop all matching processes.\n" \ "-K: stop all matching processes.\n" \
"-K: start a process unless a matching process is found.\n" \ "-S: start a process unless a matching process is found.\n" \
USE_GETOPT_LONG( \ USE_GETOPT_LONG( \
"\nProcess matching:" \ "\nProcess matching:" \
"\n -u,--user USERNAME|UID Match only this user's processes" \ "\n -u,--user USERNAME|UID Match only this user's processes" \
@ -3661,7 +3661,7 @@
"\n in /proc/PID/cmdline" \ "\n in /proc/PID/cmdline" \
"\n -p,--pidfile FILE Match a process with PID from the file" \ "\n -p,--pidfile FILE Match a process with PID from the file" \
"\n All specified conditions must match" \ "\n All specified conditions must match" \
"\n-K only:" \ "\n-S only:" \
"\n -x,--exec EXECUTABLE Program to run" \ "\n -x,--exec EXECUTABLE Program to run" \
"\n -a,--startas NAME Zeroth argument" \ "\n -a,--startas NAME Zeroth argument" \
"\n -b,--background Background" \ "\n -b,--background Background" \
@ -3670,7 +3670,7 @@
) \ ) \
"\n -c,--chuid USER[:[GRP]] Change to user/group" \ "\n -c,--chuid USER[:[GRP]] Change to user/group" \
"\n -m,--make-pidfile Write PID to the pidfile specified by -p" \ "\n -m,--make-pidfile Write PID to the pidfile specified by -p" \
"\n-S only:" \ "\n-K only:" \
"\n -s,--signal SIG Signal to send" \ "\n -s,--signal SIG Signal to send" \
"\n -t,--test Match only, exit with 0 if a process is found" \ "\n -t,--test Match only, exit with 0 if a process is found" \
"\nOther:" \ "\nOther:" \
@ -3689,7 +3689,7 @@
"\n command in /proc/PID/cmdline" \ "\n command in /proc/PID/cmdline" \
"\n -p FILE Match a process with PID from the file" \ "\n -p FILE Match a process with PID from the file" \
"\n All specified conditions must match" \ "\n All specified conditions must match" \
"\n-K only:" \ "\n-S only:" \
"\n -x EXECUTABLE Program to run" \ "\n -x EXECUTABLE Program to run" \
"\n -a NAME Zeroth argument" \ "\n -a NAME Zeroth argument" \
"\n -b Background" \ "\n -b Background" \
@ -3698,7 +3698,7 @@
) \ ) \
"\n -c USER[:[GRP]] Change to user/group" \ "\n -c USER[:[GRP]] Change to user/group" \
"\n -m Write PID to the pidfile specified by -p" \ "\n -m Write PID to the pidfile specified by -p" \
"\n-S only:" \ "\n-K only:" \
"\n -s SIG Signal to send" \ "\n -s SIG Signal to send" \
"\n -t Match only, exit with 0 if a process is found" \ "\n -t Match only, exit with 0 if a process is found" \
"\nOther:" \ "\nOther:" \