palaniyappanBala / klish

Automatically exported from code.google.com/p/klish
Other
0 stars 0 forks source link

Detailed help is not displayed #120

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Include attached file in your CLISH_PATH.
2. Execute following commands in order.
  a. "detail-bug ?"
  b. "detail?"
  c. "detail-b"
3. Note the space and question mark in above commands.

What is the expected output? What do you see instead?
I expect to see the detailed description when the command is completed and a 
"?" is pressed, that is the case 1. And this is the only case I expect to see 
detailed text. Also for the comamnds "b" and "c", notice the inconsistency in 
the display. Atlease I expect to "b" and "c" work consistently.

Expected output:
# detail-bug ?

Detailed description of command. And this can span multiple lines.
1. This is first line
2. This is second line
3. This is third line

  Unsigned integer  Description for option-1

# detail?
  detail-bug  Short description of command

# detail-b?
  detail-bug  Short description of command

I see the following output.
# detail-bug ?
  Unsigned integer  Description for option-1

# detail?
  detail-bug  Short description of command

Detailed description of command. And this can span multiple lines.
1. This is first line
2. This is second line
3. This is third line

# detail-b
  detail-bug  Short description of command

What version of the product are you using? On what operating system?
I am running out of latest git. I beleive it would be 1.6.1 or higher.

Please provide any additional information below.
I have fixed this issue. And I can provide a patch. Or if you can give me 
access to git I can checkin as well.

Original issue reported on code.google.com by vdas...@gmail.com on 17 Sep 2012 at 3:55

Attachments: