Changeset 4919 for branches/r9/apps/rpdiff
- Timestamp:
- Jan 4, 2015 6:52:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/r9/apps/rpdiff
r3177 r4919 490 490 } 491 491 } 492 loader { 493 } 492 494 default { 493 error "don't know how to compare type \"$type\""495 puts stderr "ignoring \"$type1\" for \"$path\"" 494 496 } 495 497 } … … 557 559 558 560 # ====================================================================== 559 if {$argc != 2} { 561 562 if {$argc < 2} { 560 563 puts stderr "USAGE: rpdiff file1.xml file2.xml" 561 564 exit 9 … … 563 566 set lib1 [Rappture::library [lindex $argv 0]] 564 567 set lib2 [Rappture::library [lindex $argv 1]] 568 set path "output" 569 if { $argc > 2 } { 570 set arg [lindex $argv 2] 571 if { $arg == "-path" && $argc == 4 } { 572 set path [lindex $argv 3] 573 } 574 } 565 575 566 576 # compute the differences 567 set diffs [diff output$lib1 $lib2]577 set diffs [diff $path $lib1 $lib2] 568 578 569 579 if {[llength $diffs] == 0} {
Note: See TracChangeset
for help on using the changeset viewer.