Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408663 - Alias 'eselect news read unread' for 'eselect news read new'
Summary: Alias 'eselect news read unread' for 'eselect news read new'
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-18 00:20 UTC by Adrian
Modified: 2013-06-01 13:47 UTC (History)
1 user (show)

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 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".