Print this page
5558 pargs is missing -l option in usage
Reviewed by: Marcel Telka <marcel@telka.sk>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
*** 1329,1347 ****
argc -= optind;
argv += optind;
if (errflg || argc <= 0) {
(void) fprintf(stderr,
! "usage: %s [-acexF] { pid | core } ...\n"
" (show process arguments and environment)\n"
" -a: show process arguments (default)\n"
" -c: interpret characters as 7-bit ascii regardless of "
"locale\n"
" -e: show environment variables\n"
" -l: display arguments as command line\n"
! " -x: show aux vector entries\n"
! " -F: force grabbing of the target process\n", command);
return (2);
}
while (argc-- > 0) {
char *arg;
--- 1329,1347 ----
argc -= optind;
argv += optind;
if (errflg || argc <= 0) {
(void) fprintf(stderr,
! "usage: %s [-aceFlx] { pid | core } ...\n"
" (show process arguments and environment)\n"
" -a: show process arguments (default)\n"
" -c: interpret characters as 7-bit ascii regardless of "
"locale\n"
" -e: show environment variables\n"
+ " -F: force grabbing of the target process\n"
" -l: display arguments as command line\n"
! " -x: show aux vector entries\n", command);
return (2);
}
while (argc-- > 0) {
char *arg;