mgirod / clearcase-cpan

Automatically exported from code.google.com/p/clearcase-cpan
0 stars 0 forks source link

Doc string printed in error case: no extended options #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Give a command with a syntax error (e.g. missing argument)
2. Compare the synopsys with the one print with -h

What is the expected output? What do you see instead?

ClearCase-Wrapper-MGi> ct ci -h
Usage: checkin | ci [-c comment | -cfile pname | -cq | -cqe | -nc] [-nwarn]
                    [-cr] [-ptime] [-keep | -rm] [-from source-pname]
                    [-identical] {-cact | activity_selector ... | pname ...}
                  * [-dir|-rec|-all|-avobs] [-ok] [-diff [diff-opts]] [-revert]
ClearCase-Wrapper-MGi> ct checkin -c 'MGi::mklabel -over' 
cleartool: Error: Element pathname required.
Usage: checkin | ci [-c comment | -cfile pname | -cq | -cqe | -nc] [-nwarn]
                    [-cr] [-ptime] [-keep | -rm] [-from source-pname]
                    [-identical] {-cact | activity_selector ... | pname ...}
ClearCase-Wrapper-MGi> ct ci -c 'MGi::mklabel -over' -dir
cleartool.plx: found 2 files: Changes MGi.pm
Checked in "Changes" version "/main/mg/4".
Checked in "MGi.pm" version "/main/mg/6".

Please use labels and text to provide additional information.

r428

Original issue reported on code.google.com by marc.girod on 1 Jan 2010 at 6:04

GoogleCodeExporter commented 9 years ago
Fixed in r450

Original comment by marc.girod on 23 Jan 2010 at 10:08