Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279664 - =app-admin/eselect-1.1.2 module bashcomp, mistake in displayed help
Summary: =app-admin/eselect-1.1.2 module bashcomp, mistake in displayed help
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-07-30 12:36 UTC by Marcin Mirosław
Modified: 2009-08-16 11:15 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 Marcin Mirosław 2009-07-30 12:36:21 UTC
# eselect bashcomp help
Manage contributed bash-completion scripts
Usage: eselect bashcomp <action> <options>

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

Extra actions:
  disable <target>          Disable specified completion(s)
    <target>                  Target name or number (from 'list' action)
    --global                  Disable for all users
  enable <target>           Enable specified completion(s)
    <target>                  Target name or number (from 'list' action)
    --global                  Enable for all users
  list                      List available completions
    --global                  List globally enabled completions

This help suggests that correct syntax for global enable (disable) is:
enable bashcomp enable <target> --global
, but this command creates completion for single user, not global.
Working syntax is:
enable bashcomp enable --global <target>

Reproducible: Always



Expected Results:  
Change displayed help, to suggest correct syntax.
Comment 1 Ulrich Müller gentoo-dev 2009-08-16 11:15:39 UTC
Fixed in eselect-1.1.3. Thanks.