investigate getopt usage and add a -v/--verbose option

Bug #218074 reported by Daniel Holbach
6
Affects Status Importance Assigned to Milestone
five-a-day
Fix Released
Wishlist
Unassigned

Bug Description

investigate getopt usage and add a -v/--verbose option

Changed in 5-a-day-data:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Benjamin Drung (bdrung) wrote :

1) 5-a-day -f --add 257762
2) 5-a-day --add 257762 -f

5-a-day should use getopt. 1) does not work, but 2) works. With getopt both variants would work.

Let me know if you need help. I offer to implement this feature.

Revision history for this message
Daniel Holbach (dholbach) wrote :

If you'd like to work on it, that'd be very very nice.

Benjamin Drung (bdrung)
Changed in five-a-day:
assignee: nobody → bdrung
Benjamin Drung (bdrung)
Changed in five-a-day:
assignee: bdrung → nobody
status: Confirmed → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :

five-a-day (0.48) intrepid; urgency=low

  [ Benjamin Drung ]
  * fiveaday/parser.py, 5-a-day, fiveaday/bzr.py, fiveaday/files.py,
    fiveaday/signature.py: made use of getopt for command line parsing.
    (LP: #218074)

  [ Daniel Holbach ]
  * fiveaday/core.py, 5-a-day, fiveaday/core.py, fiveaday/files.py,
    fiveaday/signature.py, fiveadayapplet/controller.py, po/5-a-day.pot,
    po/POTFILES.in:
    - ask user to run "bzr launchpad-login <lplogin>" instead of writing it
      to ~/.5-a-day. (LP: #255340)
    - move information about all path names, etc. into a component called
      core.

 -- Daniel Holbach < <email address hidden>> Thu, 28 Aug 2008 16:02:28 +0200

Changed in five-a-day:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.