Add --config to man, drop -X from options.c
authorPetr Machata <pmachata@redhat.com>
Fri, 28 Feb 2014 11:37:15 +0000 (12:37 +0100)
committerChanho Park <chanho61.park@samsung.com>
Fri, 22 Aug 2014 11:38:25 +0000 (20:38 +0900)
ltrace.1
options.c

index 6a6ba55..f683844 100644 (file)
--- a/ltrace.1
+++ b/ltrace.1
@@ -39,7 +39,7 @@ ltrace \- A library call tracer
 .\"
 .\" Output formatting:
 .\"
-[\-F \fIpathlist\fR]
+[[\-F|\-\-config] \fIpathlist\fR]
 [\-A \fImaxelts\fR] [\-s \fIstrsize\fR] [\-C|\-\-demangle]
 [\-a|\-\-align \fIcolumn\fR] [\-n|\-\-indent \fInr\fR]
 [\-o|\-\-output \fIfilename\fR]
@@ -132,7 +132,7 @@ Trace child processes as they are created by
 currently traced processes as a result of the fork(2)
 or clone(2) system calls.
 The new process is attached immediately.
-.IP "\-F \fIpathlist"
+.IP "\-F, \-\-config \fIpathlist"
 Contains a colon-separated list of paths.  If a path refers to a
 directory, that directory is considered when prototype libraries are
 searched (see the section \fBPROTOTYPE LIBRARY DISCOVERY\fR).  If it refers to
index 55a2c79..5c3441d 100644 (file)
--- a/options.c
+++ b/options.c
@@ -559,7 +559,7 @@ process_options(int argc, char **argv)
 #if defined(HAVE_UNWINDER)
                        "w:"
 #endif
-                       "cfhiLrStTVba:A:D:e:F:l:n:o:p:s:u:x:X:";
+                       "cfhiLrStTVba:A:D:e:F:l:n:o:p:s:u:x:";
 
 #ifdef HAVE_GETOPT_LONG
                c = getopt_long(argc, argv, opts, long_options, &option_index);