This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] sotruss: Amend help text


There's missing description of `-l, --lib' and `--usage' options.  Also
fix a typo while at it.

2011-08-03  Marek Polacek  <mpolacek@redhat.com>

	* elf/sotruss.ksh (do_help): Add missing description of `-l, --lib'
	and `--usage' options.  Fix a typo.

--- libc/elf/sotruss.ksh.mp	2011-08-03 16:50:34.078817462 +0200
+++ libc/elf/sotruss.ksh	2011-08-03 17:14:56.965818845 +0200
@@ -31,15 +31,17 @@ lib='@PREFIX@/$LIB/audit/sotruss-lib.so'
 
 function do_help {
   echo $"Usage: sotruss [OPTION...] [--] EXECUTABLE [EXECUTABLE-OPTION...]
-  -F, --from FROMLIST     trace calls from objects on FORMLIST
+  -F, --from FROMLIST     trace calls from objects on FROMLIST
   -T, --to TOLIST         trace calls to objects on TOLIST
 
   -e, --exit              also show exits from the function calls
   -f, --follow            trace child processes
+  -l, --lib LIBRARY       use LIBRARY as audit interface
   -o, --output FILENAME   write output to FILENAME (or FILENAME.$PID in case
 			  -f is also used) instead of standard error
 
       --help              print this help and exit
+      --usage             print a short usage message
       --version           print version information and exit"
 
   echo
@@ -84,8 +86,8 @@ warranty; not even for MERCHANTABILITY o
     do_help
     ;;
   --u | --us | --usa | --usag | --usage)
-    printf $"Usage: %s [-ef] [-F FROMLIST] [-o FILENAME] [-T TOLIST] [--exit]
-	    [--follow] [--from FROMLIST] [--output FILENAME] [--to TOLIST]\n" sotruss
+    printf $"Usage: %s [-ef] [-F FROMLIST] [-o FILENAME] [-T TOLIST] [-l LIBRARY] [--exit]
+	    [--follow] [--from FROMLIST] [--output FILENAME] [--to TOLIST] [--lib LIBRARY]\n" sotruss
     exit 0
     ;;
   -F | --fr | --fro | --from)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]