diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-07-07 22:32:20 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-07-07 22:32:20 +0000 |
commit | f268ea2b3c1ec5e3718dddea2aeaed0329eeaa24 (patch) | |
tree | a573b667aaa5d433b557f82b7ca439d79d1fd191 /apps/app_realtime.c | |
parent | f1a18b8066d100676b06cf7ee62c6a76c53b2530 (diff) |
make CLI output use singular/plural when appropriate (bug #4654)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_realtime.c')
-rwxr-xr-x | apps/app_realtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_realtime.c b/apps/app_realtime.c index d4ded9c20..339801954 100755 --- a/apps/app_realtime.c +++ b/apps/app_realtime.c @@ -92,7 +92,7 @@ static int cli_update_realtime(int fd, int argc, char **argv) { return RESULT_SUCCESS; } - ast_cli(fd, "Updated %d RealTime record(s).\n", res); + ast_cli(fd, "Updated %d RealTime record%s.\n", res, (res != 1) ? "s" : ""); return RESULT_SUCCESS; } |