Bug 106973 - app-portage/emerge-delta-webrsync-3.3 does not like -v option
Bug#: 106973 Product:  Portage Development Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: ferringb@gmail.com Reported By: skoot@qi.pl
Component: Unclassified
URL: 
Summary: app-portage/emerge-delta-webrsync-3.3 does not like -v option
Keywords:  
Status Whiteboard: 
Opened: 2005-09-23 02:42 0000
Description:   Opened: 2005-09-23 02:42 0000
emerge-delta-webrsync has some code that allows to see verbose wget output, but
the option -v is not accepted. Also the code checks whether "$1" == "-v", which
is not good if -v is not on the first position.

It's very refreshing to see how the stuff keeps downloading... :-)

Reproducible: Always
Steps to Reproduce:
1. emerge-delta-webrsync -v

Actual Results:  
-v isn't a valid arg.  bailing.
-u for upgrade; sync only if new snapshots are found
-k for keep; keep old tree snapshots around


Expected Results:  
Attempting to fetch file dated: 20050922
--11:40:26--  http://gentoo.osuosl.org//snapshots/portage-20050922.tar.bz2.md5sum
           => `/usr/portage/distfiles/portage-20050922.tar.bz2.md5sum'
Translacja gentoo.osuosl.org... 64.50.236.52
Łączenie się z gentoo.osuosl.org[64.50.236.52]:80... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
Długość: 59 [application/x-tar]

100%[============================================================================>]
59            --.--K/s             

11:40:26 (576.17 KB/s) -
`/usr/portage/distfiles/portage-20050922.tar.bz2.md5sum' saved [59/59]

--11:40:26--  http://gentoo.osuosl.org//snapshots/portage-20050922.tar.bz2
           => `/usr/portage/distfiles/portage-20050922.tar.bz2'


Please find a patch attached.

------- Comment #1 From Mariusz Pekala 2005-09-23 02:45:54 0000 -------
Created an attachment (id=69058) [details]
Enables -v option, adds it to help, recognizes later.

------- Comment #2 From Brian Harring 2005-11-29 11:17:46 0000 -------
Will tag this in shortly.

------- Comment #3 From Brian Harring 2005-12-26 01:11:31 0000 -------
commited as 3.4