Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 408663

Summary: Alias 'eselect news read unread' for 'eselect news read new'
Product: Gentoo Hosted Projects Reporter: Adrian <adrian>
Component: eselectAssignee: Gentoo eselect Team <eselect>
Status: RESOLVED CANTFIX    
Severity: enhancement CC: adrian
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adrian 2012-03-18 00:20:22 UTC
Having this alias would be nice; I'm sure that I'm not the only one who pretty much always uses the wrong argument first...

Reproducible: Always
Comment 1 Ulrich Müller gentoo-dev 2012-03-20 20:33:24 UTC
$ eselect news help
Read Gentoo ("GLEP 42") news items
Usage: eselect news <action> <options>

Standard actions:
  help                      Display help text
  usage                     Display usage information
  version                   Display version information

Extra actions:
  count                     Display number of news items
    new                       Count unread news items (default)
    all                       Count all news items
  list                      List news items
  purge                     Purge read news
  read <item>...            Read news items
    --mbox                    Output in mbox format
    --quiet                   Suppress output, only change status
    --raw                     Output in raw format
    new                       Read unread news items (default)
    all                       Read all news items
    item                      Number of item (from 'list' action)
  unread <item>...          Mark read news items as unread again
    all                       Mark all news items as unread
    item                      Number of item (from 'list' action)

As you can see, we already have "unread" as an action, so adding it as an option too might be confusing.

Besides, "new" is the default option, so you can simply use "eselect news read".