This is the mail archive of the frysk@sourceware.org mailing list for the frysk 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] fix the bug of the help information of fstack


Hi,
This patch is to fix bug
http://sourceware.org/bugzilla/show_bug.cgi?id=4774.

$./frysk-core/frysk/bindir/fstack -help

The description of option "-c" and "-a" is not right. 
It should be "... this is equivalent to -p functions,params,fullpath"
for "-c" option 
and " ... this is equivalent to -p functions,params,scopes,fullpath" for
"-a" option.

Thanks
Pearly Zhao
Oracle Asia R&D Center - Beijing
Index: frysk-core/frysk/bindir/fstack.java
===================================================================
RCS file: /cvs/frysk/frysk-core/frysk/bindir/fstack.java,v
retrieving revision 1.34
diff -u -p -r1.34 fstack.java
--- frysk-core/frysk/bindir/fstack.java	20 Jun 2007 19:43:52 -0000	1.34
+++ frysk-core/frysk/bindir/fstack.java	11 Jul 2007 03:04:23 -0000
@@ -170,7 +170,7 @@ public final class fstack
     
     parser.add(new Option("all", 'a', "print all information that can currently be retrieved" +
                           "about the stack\n" +
-                          "this is equivalent to -a functions,params,scopes,fullpath"){
+                          "this is equivalent to -p functions,params,scopes,fullpath"){
 
                 public void parsed (String argument) throws OptionException
                 {
@@ -182,7 +182,7 @@ public final class fstack
               });
               
     parser.add(new Option("common", 'c', "print commonly used debug information:" +
-                          "this is equivalent to -a functions,params,fullpath"){
+                          "this is equivalent to -p functions,params,fullpath"){
 
                 public void parsed (String argument) throws OptionException
                 {

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