Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218439 - emerge --help output not aligned
Summary: emerge --help output not aligned
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 216231
  Show dependency tree
 
Reported: 2008-04-19 16:53 UTC by Mikael Magnusson
Modified: 2008-04-21 21:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Magnusson 2008-04-19 16:53:00 UTC
emerge --help produces this output here (sans colors):

emerge: the other white meat (command-line interface to the Portage system)
Usage:
   emerge [ options ] [ action ] [ ebuildfile | tbz2file | dependency ] [ ... ]
   emerge [ options ] [ action ] < system | world >
   emerge < --sync | --metadata | --info >
   emerge --resume [ --pretend | --ask | --skipfirst ]
   emerge --help [ system | world | --sync ] 
Options: -[abBcCdDefgGhkKlnNoOpqPsStuvV] [--oneshot] [--newuse] [--noconfmem]
                                          [ --color < y | n >  ] [ --columns ]
                                     [ --reinstall changed-use ] [--nospinner]
                    [ --complete-graph  ] [ --deep  ] [--with-bdeps < y | n > ]
Actions: [ --clean | --depclean | --prune | --regen | --search | --unmerge ]

   For more help try 'emerge --help --verbose' or consult the man page.
Comment 1 Zac Medico gentoo-dev 2008-04-20 22:08:10 UTC
Maybe we should just use the default option formatter from python's optparse module. Anyway, does this look any better?

emerge: the other white meat (command-line interface to the Portage system)
Usage:
   emerge [ options ] [ action ] [ ebuildfile | tbz2file | dependency ] [ ... ]
   emerge [ options ] [ action ] < system | world >
   emerge < --sync | --metadata | --info >
   emerge --resume [ --pretend | --ask | --skipfirst ]
   emerge --help [ system | world | --sync ]
Options: -[abBcCdDefgGhkKlnNoOpqPsStuvV]
         [ --columns   ] [ --deep      ] [ --newuse    ] [ --noconfmem ]
         [ --oneshot   ] [ --nospinner ]
         [ --color < y | n >           ] [ --complete-graph            ]
         [ --reinstall changed-use     ] [ --with-bdeps < y | n >      ]
Actions: [ --clean | --depclean | --prune | --regen | --search | --unmerge ]
Comment 2 Mikael Magnusson 2008-04-20 22:55:32 UTC
Probably hard to make it worse :) but yeah, that looks pretty good to me.
Comment 3 Zac Medico gentoo-dev 2008-04-21 21:37:33 UTC
Thanks, this is fixed in 2.1.5_rc6.