aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_procs.c
diff options
context:
space:
mode:
authorGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2008-01-04 22:10:37 +0000
committerGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2008-01-04 22:10:37 +0000
commit446b89f8399d3cec3a53115c6197e9b87c24296a (patch)
treebb58e756d9736f6da031427239e07993ad5ade17 /plugins/check_procs.c
parent1544007dcf0ba19659efc08ca88638e3e2adc4a4 (diff)
downloadmonitoring-plugins-446b89f8399d3cec3a53115c6197e9b87c24296a.tar.gz
Cleaned check_procs usage output (Ferenc Wagner #1862218)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1885 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_procs.c')
-rw-r--r--plugins/check_procs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index f5dc45df..f266cd76 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -417,13 +417,13 @@ process_arguments (int argc, char **argv)
pw = getpwuid ((uid_t) uid);
/* check to be sure user exists */
if (pw == NULL)
- usage2 (_("UID %s was not found"), optarg);
+ usage2 (_("UID was not found"), optarg);
}
else {
pw = getpwnam (optarg);
/* check to be sure user exists */
if (pw == NULL)
- usage2 (_("User name %s was not found"), optarg);
+ usage2 (_("User name was not found"), optarg);
/* then get uid */
uid = pw->pw_uid;
}
@@ -750,7 +750,7 @@ be the total number of running processes\n\n"));
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf (_("Usage: "));
printf ("%s -w <range> -c <range> [-m metric] [-s state] [-p ppid]\n", progname);
printf (" [-u user] [-r rss] [-z vsz] [-P %%cpu] [-a argument-array]\n");
printf (" [-C command] [-t timeout] [-v]\n");