===============
* Upgraded SELinux code to new api, thanks to Chris PeBenito
* define rpmatch for libraries that dont have it
+ * Fixed small typos in help thanks to Benno Schulenberg
+ fixes SF# 1150042
Changes in 21.6
===============
usage (void)
{
fprintf (stderr, _(
- "usage: fuser [ -a | -s | -c ] [ -n space ] [ -signal ] [ -kimuv ] name ...\n"
- " [ - ] [ -n space ] [ -signal ] [ -kimuv ] name ...\n"
+ "Usage: fuser [ -a | -s | -c ] [ -n SPACE ] [ -SIGNAL ] [ -kimuv ] NAME...\n"
+ " [ - ] [ -n SPACE ] [ -SIGNAL ] [ -kimuv ] NAME...\n"
" fuser -l\n"
- " fuser -V\n\n"
+ " fuser -V\n"
+ "Show which processes use the named files, sockets, or filesystems.\n\n "
" -a display unused files too\n"
" -c mounted FS\n"
" -f silently ignored (for POSIX compatibility)\n"
- " -k kill processes accessing that file\n"
" -i ask before killing (ignored without -k)\n"
- " -l list signal names\n"
- " -m mounted FS\n"
- " -n space search in the specified name space (file, udp, or tcp)\n"
+ " -k kill processes accessing the named file\n"
+ " -l list available signal names\n"
+ " -m show all processes using the named filesystems\n"
+ " -n SPACE search in this name space (file, udp, or tcp)\n"
" -s silent operation\n"
- " -signal send signal instead of SIGKILL\n"
- " -u display user ids\n"
+ " -SIGNAL send this signal instead of SIGKILL\n"
+ " -u display user IDs\n"
" -v verbose output\n"
" -V display version information\n"
" -4 search IPv4 sockets only\n"
void print_version()
{
- fprintf(stderr, _("fuser (psmisc) %s\n"), VERSION);
+ fprintf(stderr, _("fuser (PSmisc) %s\n"), VERSION);
fprintf(stderr, _(
"Copyright (C) 1993-2002 Werner Almesberger and Craig Small\n\n"));
fprintf(stderr, _(
usage_pidof (void)
{
fprintf (stderr, _(
- "usage: pidof [ -eg ] name ...\n"
+ "Usage: pidof [ -eg ] NAME...\n"
" pidof -V\n\n"
" -e require exact match for very long names;\n"
" skip if the command line is unavailable\n"
static void
usage_killall (void)
{
+#ifdef FLASK_LINUX
fprintf(stderr, _(
- "usage: killall [ OPTIONS ] [ -- ] name ...\n"));
+ "Usage: killall [-Z CONTEXT] [ -egiqvw ] [ -SIGNAL ] NAME...\n"));
+#else /*FLASK_LINUX*/
+ fprintf(stderr, _(
+ "Usage: killall [OPTIONS]... [--] NAME...\n"));
+#endif /*FLASK_LINUX*/
fprintf(stderr, _(
" killall -l, --list\n"
- " killall -V --version\n\n"
+ " killall -V, --version\n\n"
" -e,--exact require exact match for very long names\n"
" -I,--ignore-case case insensitive process name match\n"
" -g,--process-group kill process group instead of process\n"
" -i,--interactive ask for confirmation before killing\n"
" -l,--list list all known signal names\n"
" -q,--quiet don't print complaints\n"
- " -s,--signal send signal instead of SIGTERM\n"
+ " -s,--signal SIGNAL send this signal instead of SIGTERM\n"
" -v,--verbose report if the signal was successfully sent\n"
" -V,--version display version information\n"
" -w,--wait wait for processes to die\n\n"));
#ifdef WITH_SELINUX
fprintf(stderr, _(
- " -Z,--context kill only process(es) having context\n"
+ " -Z,--context CONTEXT kill only process(es) having context\n"
" (must precede other arguments)"));
#endif /*WITH_SELINUX*/
}
void print_version()
{
- fprintf(stderr, "%s (psmisc) %s\n", pidof ? "pidof" : "killall", VERSION);
+ fprintf(stderr, "%s (PSmisc) %s\n", pidof ? "pidof" : "killall", VERSION);
fprintf(stderr, _(
"Copyright (C) 1993-2002 Werner Almesberger and Craig Small\n\n"));
fprintf(stderr, _(
usage (void)
{
fprintf (stderr, _(
- "usage: pstree [ -a ] [ -c ] [ -h | -H pid ] [ -l ] [ -n ] [ -p ] [ -u ]\n"
- " [ -A | -G | -U ] [ pid | user]\n"
- " pstree -V\n\n"
+ "Usage: pstree [ -a ] [ -c ] [ -h | -H PID ] [ -l ] [ -n ] [ -p ] [ -u ]\n"
+ " [ -A | -G | -U ] [ PID | USER ]\n"
+ " pstree -V\n"
+ "Display a tree of processes.\n\n"
" -a show command line arguments\n"
" -A use ASCII line drawing characters\n"
" -c don't compact identical subtrees\n"
" -h highlight current process and its ancestors\n"
- " -H pid highlight process \"pid\" and its ancestors\n"
+ " -H PID highlight this process and its ancestors\n"
" -G use VT100 line drawing characters\n"
" -l don't truncate long lines\n"
" -n sort output by PID\n"
fprintf (stderr, _(
" -U use UTF-8 (Unicode) line drawing characters\n"
" -V display version information\n"
- " pid start at pid, default 1 (init)\n"
- " user show only trees rooted at processes of that user\n\n"));
+ " PID start at this PID; default is 1 (init)\n"
+ " USER show only trees rooted at processes of this user\n\n"));
exit (1);
}
void print_version()
{
- fprintf(stderr, _("pstree (psmisc) %s\n"), VERSION);
+ fprintf(stderr, _("pstree (PSmisc) %s\n"), VERSION);
fprintf(stderr, _(
"Copyright (C) 1993-2002 Werner Almesberger and Craig Small\n\n"));
fprintf(stderr, _(